mirror of
https://github.com/msberends/AMR.git
synced 2025-07-18 01:23:16 +02:00
(v2.1.1.9125) replace 'antibiotic selectors' with 'antimicrobial selectors'
This commit is contained in:
@ -97,9 +97,13 @@ x <- data.frame(
|
||||
)
|
||||
# should have the first hits
|
||||
expect_identical(
|
||||
colnames(x[, aminoglycosides()]),
|
||||
colnames(x[, aminoglycosides(return_all = FALSE)]),
|
||||
c("gen", "tobra")
|
||||
)
|
||||
expect_identical(
|
||||
colnames(x[, aminoglycosides()]),
|
||||
c("gen", "genta", "J01GB03", "tobra", "Tobracin")
|
||||
)
|
||||
|
||||
if (AMR:::pkg_is_available("dplyr", min_version = "1.0.0", also_load = TRUE)) {
|
||||
expect_equal(example_isolates %>% select(administrable_per_os() & penicillins()) %>% ncol(), 5, tolerance = 0.5)
|
||||
|
Reference in New Issue
Block a user