mirror of
https://github.com/msberends/AMR.git
synced 2024-12-26 18:46:13 +01:00
fix unit test
This commit is contained in:
parent
7be4dabbc0
commit
4aa5413641
@ -1,5 +1,5 @@
|
|||||||
Package: AMR
|
Package: AMR
|
||||||
Version: 2.1.1.9006
|
Version: 2.1.1.9007
|
||||||
Date: 2024-02-24
|
Date: 2024-02-24
|
||||||
Title: Antimicrobial Resistance Data Analysis
|
Title: Antimicrobial Resistance Data Analysis
|
||||||
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
||||||
|
2
NEWS.md
2
NEWS.md
@ -1,4 +1,4 @@
|
|||||||
# AMR 2.1.1.9006
|
# AMR 2.1.1.9007
|
||||||
|
|
||||||
*(this beta version will eventually become v3.0. We're happy to reach a new major milestone soon, which will be all about the new One Health support!)*
|
*(this beta version will eventually become v3.0. We're happy to reach a new major milestone soon, which will be all about the new One Health support!)*
|
||||||
|
|
||||||
|
3
R/zzz.R
3
R/zzz.R
@ -55,7 +55,6 @@ AMR_env$av_previously_coerced <- data.frame(
|
|||||||
av = character(0),
|
av = character(0),
|
||||||
stringsAsFactors = FALSE
|
stringsAsFactors = FALSE
|
||||||
)
|
)
|
||||||
AMR_env$host_preferred_order <- names(sort(table(AMR::clinical_breakpoints$host[!AMR::clinical_breakpoints$host %in% AMR::clinical_breakpoints$type]), decreasing = TRUE))
|
|
||||||
AMR_env$sir_interpretation_history <- data.frame(
|
AMR_env$sir_interpretation_history <- data.frame(
|
||||||
datetime = Sys.time()[0],
|
datetime = Sys.time()[0],
|
||||||
index = integer(0),
|
index = integer(0),
|
||||||
@ -195,6 +194,8 @@ if (pkg_is_available("cli")) {
|
|||||||
# they cannot be part of R/sysdata.rda since CRAN thinks it would make the package too large (+3 MB)
|
# they cannot be part of R/sysdata.rda since CRAN thinks it would make the package too large (+3 MB)
|
||||||
AMR_env$AB_lookup <- cbind(AMR::antibiotics, AB_LOOKUP)
|
AMR_env$AB_lookup <- cbind(AMR::antibiotics, AB_LOOKUP)
|
||||||
AMR_env$AV_lookup <- cbind(AMR::antivirals, AV_LOOKUP)
|
AMR_env$AV_lookup <- cbind(AMR::antivirals, AV_LOOKUP)
|
||||||
|
|
||||||
|
AMR_env$host_preferred_order <- names(sort(table(AMR::clinical_breakpoints$host[!AMR::clinical_breakpoints$host %in% AMR::clinical_breakpoints$type]), decreasing = TRUE))
|
||||||
}
|
}
|
||||||
|
|
||||||
.onAttach <- function(lib, pkg) {
|
.onAttach <- function(lib, pkg) {
|
||||||
|
Loading…
Reference in New Issue
Block a user