diff --git a/DESCRIPTION b/DESCRIPTION index 33bfb6767..f8ab433fc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 3.0.1.9042 +Version: 3.0.1.9043 Date: 2026-04-02 Title: Antimicrobial Resistance Data Analysis Description: Functions to simplify and standardise antimicrobial resistance (AMR) diff --git a/NEWS.md b/NEWS.md index ba4fc855f..2f6322888 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# AMR 3.0.1.9042 +# AMR 3.0.1.9043 ### New * Support for clinical breakpoints of 2026 of both CLSI and EUCAST, by adding all of their over 5,700 new clinical breakpoints to the `clinical_breakpoints` data set for usage in `as.sir()`. EUCAST 2026 is now the new default guideline for all MIC and disk diffusion interpretations. diff --git a/tests/testthat/test-eucast_rules.R b/tests/testthat/test-eucast_rules.R index 84a70f0b6..e4dfbabea 100755 --- a/tests/testthat/test-eucast_rules.R +++ b/tests/testthat/test-eucast_rules.R @@ -32,15 +32,15 @@ test_that("test-eucast_rules.R", { # thoroughly check input table expect_equal( - colnames(AMR:::EUCAST_RULES_DF), - c( + sort(colnames(AMR:::EUCAST_RULES_DF)), + sort(c( "if_mo_property", "like.is.one_of", "this_value", "and_these_antibiotics", "have_these_values", "then_change_these_antibiotics", "to_value", "reference.rule", "reference.rule_group", "reference.version", "note" - ) + )) ) MOs_mentioned <- unique(AMR:::EUCAST_RULES_DF$this_value) MOs_mentioned <- sort(trimws(unlist(strsplit(MOs_mentioned[!AMR:::is_valid_regex(MOs_mentioned)], ",", fixed = TRUE))))