-
+
-
Last updated: 11 December 2021
+
Last updated: 11 December 2021
-
Breaking changes
+
Breaking changes
- Removed
p_symbol()
and all filter_*()
functions (except for filter_first_isolate()
), which were all deprecated in a previous package version
- Removed the
key_antibiotics()
and key_antibiotics_equal()
functions, which were deprecated and superseded by key_antimicrobials()
and antimicrobials_equal()
- Removed all previously implemented
ggplot2::ggplot()
generics for classes <mic>
, <disk>
, <rsi>
and <resistance_predict>
as they did not follow the ggplot2
logic. They were replaced with ggplot2::autoplot()
generics.
-
New
+
New
Support for EUCAST Intrinsic Resistance and Unusual Phenotypes v3.3 (October 2021). This is now the default EUCAST guideline in the package (all older guidelines are still available) for eucast_rules()
, mo_intrinsic_resistant()
and mdro()
. The intrinsic_resistant
data set was also updated accordingly.
Support for Danish, and also added missing translations of all antimicrobial drugs in Italian, French and Portuguese
-
@@ -183,7 +183,7 @@
Function ab_ddd_units()
to get units of DDDs (daily defined doses), deprecating the use of ab_ddd(..., units = TRUE)
to be more consistent in data types of function output
-
Changed
+
Changed
- Updated the bacterial taxonomy to 5 October 2021 (according to LPSN), including all 11 new staphylococcal species named since 1 January last year
- The
antibiotics
data set now contains all ATC codes that are available through the WHOCC website, regardless of drugs being present in more than one ATC group. This means that:
- Some drugs now contain multiple ATC codes (e.g., metronidazole contains 5)
@@ -252,7 +252,7 @@
get_episode()
and is_new_episode()
can now cope with NA
s
-
Other
+
Other
- This package is now being maintained by two epidemiologists and a data scientist from two different non-profit healthcare organisations. All functions in this package are now all considered to be stable. Updates to the AMR interpretation rules (such as by EUCAST and CLSI), the microbial taxonomy, and the antibiotic dosages will all be updated every 6 to 12 months from now on.
diff --git a/inst/tinytest/test-mdro.R b/inst/tinytest/test-mdro.R
index 057975c4..853197a2 100755
--- a/inst/tinytest/test-mdro.R
+++ b/inst/tinytest/test-mdro.R
@@ -30,6 +30,8 @@ expect_error(mdro(example_isolates, col_mo = "invalid", info = TRUE))
expect_stdout(suppressMessages(suppressWarnings(mdro(example_isolates, info = TRUE))))
expect_stdout(suppressMessages(suppressWarnings(mdro(example_isolates, "eucast3.1", info = TRUE))))
+expect_stdout(suppressMessages(suppressWarnings(mdro(example_isolates, "eucast3.2", info = TRUE))))
+expect_stdout(suppressMessages(suppressWarnings(mdro(example_isolates, "eucast3.3", info = TRUE))))
expect_stdout(outcome <- suppressMessages(suppressWarnings(eucast_exceptional_phenotypes(example_isolates, info = TRUE))))
# check class
expect_identical(class(outcome), c("ordered", "factor"))