(v2.1.1.9125) replace 'antibiotic selectors' with 'antimicrobial selectors'

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2025-01-17 12:09:39 +01:00
1 parent 1697ad37ce
commit 92c4fc0f94
33 files changed
+1029 -807

No files matched your search

+5 -1
View File
@@ -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)