mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 00:02:38 +02:00
(v0.8.0.9002) eucast_rules() fix for S. maltophilia
This commit is contained in:
@ -43,7 +43,7 @@ test_that("data sets are valid", {
|
||||
datasets <- data(package = "AMR", envir = asNamespace("AMR"))$results[, "Item"]
|
||||
for (i in seq_len(length(datasets))) {
|
||||
dataset <- get(datasets[i], envir = asNamespace("AMR"))
|
||||
expect_identical(dataset_UTF8_to_ASCII(dataset), dataset)
|
||||
expect_identical(dataset_UTF8_to_ASCII(dataset), dataset, label = datasets[i])
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -43,7 +43,7 @@ test_that("mdro works", {
|
||||
|
||||
# example_isolates should have these finding using Dutch guidelines
|
||||
expect_equal(outcome %>% freq() %>% pull(count),
|
||||
c(1972, 22, 6)) # 1969 neg, 25 unconfirmed, 6 pos
|
||||
c(1969, 25, 6)) # 1969 neg, 25 unconfirmed, 6 pos
|
||||
|
||||
expect_equal(brmo(example_isolates, info = FALSE),
|
||||
mdro(example_isolates, guideline = "BRMO", info = FALSE))
|
||||
|
Reference in New Issue
Block a user