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

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2021-03-05 10:32:09 +01:00
1 parent 0e0e3c4ffa
commit 0d29bde693
29 files changed
+133 -124

No files matched your search

+3 -5
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, ")"))
})