1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-09 02:03:04 +02:00

(v1.5.0.9030) as.ab() speed improvement

This commit is contained in:
2021-03-05 10:32:09 +01:00
parent 0e0e3c4ffa
commit 0d29bde693
29 changed files with 133 additions and 124 deletions

View File

@ -88,13 +88,11 @@ test_that("CoL version info works", {
})
test_that("CoNS/CoPS are up to date", {
skip_on_cran()
uncategorised <- subset(microorganisms,
genus == "Staphylococcus" &
!species %in% c("", "aureus") &
!mo %in% c(MO_CONS, MO_COPS))
if (NROW(uncategorised) > 0) {
warning(paste0("Staphylococcal species not categorised as CoNS/CoPS: S. ",
uncategorised$species, " (", uncategorised$mo, ")\n"))
}
expect(NROW(uncategorised) == 0,
failure_message = paste0("Staphylococcal species not categorised as CoNS/CoPS: S. ",
uncategorised$species, " (", uncategorised$mo, ")"))
})