mirror of
https://github.com/msberends/AMR.git
synced 2025-01-13 14:11:37 +01:00
website
This commit is contained in:
parent
c28cfa3a77
commit
549790c2a6
@ -1,6 +1,6 @@
|
||||
Package: AMR
|
||||
Version: 2.0.0.9003
|
||||
Date: 2023-03-16
|
||||
Version: 2.0.0.9004
|
||||
Date: 2023-03-20
|
||||
Title: Antimicrobial Resistance Data Analysis
|
||||
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
||||
data analysis and to work with microbial and antimicrobial properties by
|
||||
|
2
NEWS.md
2
NEWS.md
@ -1,4 +1,4 @@
|
||||
# AMR 2.0.0.9003
|
||||
# AMR 2.0.0.9004
|
||||
|
||||
## Changed
|
||||
* formatting fix for `sir_interpretation_history()`
|
||||
|
@ -224,7 +224,7 @@
|
||||
#' # in an Rmd file, you would just need to return `ureido` in a chunk,
|
||||
#' # but to be explicit here:
|
||||
#' if (requireNamespace("knitr")) {
|
||||
#' knitr::knit_print(ureido)
|
||||
#' cat(knitr::knit_print(ureido))
|
||||
#' }
|
||||
#'
|
||||
#'
|
||||
|
@ -57,7 +57,7 @@ italicise_taxonomy <- function(string, type = c("markdown", "ansi")) {
|
||||
before <- "*"
|
||||
after <- "*"
|
||||
} else if (type == "ansi") {
|
||||
if (!has_colour()) {
|
||||
if (!has_colour() && !identical(Sys.getenv("IN_PKGDOWN"), "true")) {
|
||||
return(string)
|
||||
}
|
||||
before <- "\033[3m"
|
||||
|
@ -247,7 +247,7 @@ ureido <- antibiogram(example_isolates,
|
||||
# in an Rmd file, you would just need to return `ureido` in a chunk,
|
||||
# but to be explicit here:
|
||||
if (requireNamespace("knitr")) {
|
||||
knitr::knit_print(ureido)
|
||||
cat(knitr::knit_print(ureido))
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user