mirror of
https://github.com/msberends/AMR.git
synced 2026-10-01 04:13:33 +02:00
(v2.1.1.9125) replace 'antibiotic selectors' with 'antimicrobial selectors'
This commit is contained in:
1 parent
1697ad37ce
commit
92c4fc0f94
33 files changed
+1029
-807
No files matched your search
@@ -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