mirror of
https://github.com/msberends/AMR.git
synced 2025-07-13 04:02:17 +02:00
(v1.6.0.9055) support codecov again
This commit is contained in:
@ -71,7 +71,7 @@ b <- data.frame(mo = c("Staphylococcus aureus",
|
||||
expect_equal(suppressWarnings(eucast_rules(a, "mo", info = FALSE)), b)
|
||||
|
||||
# piperacillin must be R in Enterobacteriaceae when tica is R
|
||||
if (pkg_is_available("dplyr")) {
|
||||
if (AMR:::pkg_is_available("dplyr")) {
|
||||
expect_equal(suppressWarnings(
|
||||
example_isolates %>%
|
||||
filter(mo_family(mo) == "Enterobacteriaceae") %>%
|
||||
@ -109,7 +109,7 @@ expect_equal(
|
||||
"S")
|
||||
|
||||
# also test norf
|
||||
if (pkg_is_available("dplyr")) {
|
||||
if (AMR:::pkg_is_available("dplyr")) {
|
||||
expect_stdout(suppressWarnings(eucast_rules(example_isolates %>% mutate(NOR = "S", NAL = "S"), info = TRUE)))
|
||||
}
|
||||
|
||||
@ -155,4 +155,4 @@ expect_equal(nrow(eucast_rules(example_isolates,
|
||||
custom_rules = x,
|
||||
info = FALSE,
|
||||
verbose = TRUE)),
|
||||
8)
|
||||
8, tolerance = 0.5)
|
||||
|
Reference in New Issue
Block a user