mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 19:01:51 +02:00
update to septic_patients, speed improvements
This commit is contained in:
@ -13,7 +13,8 @@ test_that("MDRO works", {
|
||||
expect_equal(outcome %>% class(), c('ordered', 'factor'))
|
||||
|
||||
# septic_patients should have these finding using Dutch guidelines
|
||||
expect_equal(outcome %>% freq() %>% pull(count), c(3, 21))
|
||||
expect_equal(outcome %>% freq() %>% pull(count),
|
||||
c(2, 14)) # 2 unconfirmed, 14 positive
|
||||
|
||||
expect_equal(BRMO(septic_patients, info = FALSE), MDRO(septic_patients, "nl", info = FALSE))
|
||||
|
||||
|
Reference in New Issue
Block a user