The former kingdoms Bacteria and Archaea are now each divided into four kingdoms, with new top-level domains Bacteria and Archaea (Göker and Oren, 2024, DOI: 10.1099/ijsem.0.006242). Following this, a new domain column was added to the microorganisms data set, and mo_kingdom() now returns the formal kingdom (e.g., "Pseudomonadati" instead of "Bacteria"). Use mo_domain() for the old behaviour. For non-prokaryotic kingdoms (Fungi, Protozoa, etc.), kingdom and domain are identical.
@@ -105,9 +105,10 @@
Parallel computing in as.sir(), antibiogram(), and wisca() now uses the future and future.apply packages, which is faster. A non-sequential plan (e.g., future::plan(future::multisession)) must be active before using parallel = TRUE (#281).
The options of capped_mic_handling in as.sir() have been redefined as "none", "conservative", "standard" (default), and "lenient". The option "inverse" is no longer available (#243).
as.sir() now returns WT/NWT (Wildtype/Non-wildtype) instead of S/R when using ECOFF-based interpretation with breakpoint_type = "ECOFF". WT/NWT results are fully supported in all resistance and susceptibility functions and in all plots (#254).
+
count_df(), proportion_df(), and sir_df() now follow the AMR_guideline option through their new guideline argument. With CLSI, combine_SI = TRUE merges ‘I’ with R into "IR" and returns "S" vs. "IR", consistent with count_susceptible() and susceptibility(). Previously, these functions always merged ‘I’ with S, as with EUCAST. Use guideline = "EUCAST" for the old behaviour. This also applies to ggplot_sir(), geom_sir(), and labels_sir_count(), which got the same argument.
-
New
+
New
Updated clinical breakpoints
EUCAST 2026 and CLSI 2026 are now supported, by adding over 5,700 new breakpoints to the clinical_breakpoints data set. EUCAST 2026 is now the default guideline for all MIC and disk diffusion interpretations.
New argument enforce_method ("auto", "mic", or "disk") to force the interpretation method when S3 class information is lost, e.g., when called from Python (#291)
When input consists of whole numbers only, disk zones are now assumed rather than MIC values (#291)
@@ -232,7 +233,7 @@
Resistance and susceptibility calculation
-
New argument guideline (default: EUCAST) in susceptibility() and resistance() to interpret the ‘I’ category correctly per guideline
count_*() and proportion_*() now handle WT, NWT, NS, and NI results correctly (#321)
@@ -274,8 +275,9 @@
Fixed a bug where R could crash after unloading the data.table package, and where suggested packages available on the machine that built the package were used even if they were not available to the user
-
Other
+
Other
Improved console messages with clickable links throughout the package, powered by cli if it is installed (#191, #265)
+
The documentation of get_AMR_locale() now describes the actual order in which the language is determined: the AMR_locale option, then the LANG system variable, then LANGUAGE only if LANG is not set, and then the system locale
Revamped console output of interpretive_rules(), with section headers, S/I/R values styled as in the printing of sir columns in tibbles, and the summary of edits sorted by SIR level, using cli if it is installed (#259)
The printing of custom_interpretive_rules() and custom_mdro_guideline() now styles SIR values as in tibbles, i.e., the colour of I depends on the guideline. WT, NWT, and NS were previously shown as SDD, I, and R, and values other than S and R as I.
The ‘AMR for Python’ vignette now contains sections on installation channels (stable from CRAN, or development from GitHub via AMR.beta) and on using enforce_method in as_sir() from Python
diff --git a/news/index.md b/news/index.md
index cea58e919..bf67f61e4 100644
--- a/news/index.md
+++ b/news/index.md
@@ -1,6 +1,6 @@
# Changelog
-## AMR 3.0.1.9136
+## AMR 3.0.1.9137
Planned as v3.1.0, mid October 2026.
@@ -63,6 +63,21 @@ Planned as v3.1.0, mid October 2026.
fully supported in all resistance and susceptibility functions and in
all plots ([\#254](https://github.com/msberends/AMR/issues/254)).
+- [`count_df()`](https://amr-for-r.org/reference/count.md),
+ [`proportion_df()`](https://amr-for-r.org/reference/proportion.md),
+ and [`sir_df()`](https://amr-for-r.org/reference/proportion.md) now
+ follow the `AMR_guideline` option through their new `guideline`
+ argument. With CLSI, `combine_SI = TRUE` merges ‘I’ with R into `"IR"`
+ and returns `"S"` vs. `"IR"`, consistent with
+ [`count_susceptible()`](https://amr-for-r.org/reference/count.md) and
+ [`susceptibility()`](https://amr-for-r.org/reference/proportion.md).
+ Previously, these functions always merged ‘I’ with S, as with EUCAST.
+ Use `guideline = "EUCAST"` for the old behaviour. This also applies to
+ [`ggplot_sir()`](https://amr-for-r.org/reference/ggplot_sir.md),
+ [`geom_sir()`](https://amr-for-r.org/reference/ggplot_sir.md), and
+ [`labels_sir_count()`](https://amr-for-r.org/reference/plot.md), which
+ got the same argument.
+
#### New
- **Updated clinical breakpoints**
@@ -326,9 +341,15 @@ Planned as v3.1.0, mid October 2026.
installations without `dplyr`
- Resistance and susceptibility calculation
- New argument `guideline` (default: EUCAST) in
- [`susceptibility()`](https://amr-for-r.org/reference/proportion.md)
- and [`resistance()`](https://amr-for-r.org/reference/proportion.md)
- to interpret the ‘I’ category correctly per guideline
+ [`susceptibility()`](https://amr-for-r.org/reference/proportion.md),
+ [`resistance()`](https://amr-for-r.org/reference/proportion.md),
+ [`count_df()`](https://amr-for-r.org/reference/count.md),
+ [`proportion_df()`](https://amr-for-r.org/reference/proportion.md),
+ [`sir_df()`](https://amr-for-r.org/reference/proportion.md),
+ [`ggplot_sir()`](https://amr-for-r.org/reference/ggplot_sir.md),
+ [`geom_sir()`](https://amr-for-r.org/reference/ggplot_sir.md), and
+ [`labels_sir_count()`](https://amr-for-r.org/reference/plot.md) to
+ interpret the ‘I’ category correctly per guideline
- `count_*()` and `proportion_*()` now handle WT, NWT, NS, and NI
results correctly
([\#321](https://github.com/msberends/AMR/issues/321))
@@ -422,6 +443,11 @@ Planned as v3.1.0, mid October 2026.
powered by `cli` if it is installed
([\#191](https://github.com/msberends/AMR/issues/191),
[\#265](https://github.com/msberends/AMR/issues/265))
+- The documentation of
+ [`get_AMR_locale()`](https://amr-for-r.org/reference/translate.md) now
+ describes the actual order in which the language is determined: the
+ `AMR_locale` option, then the `LANG` system variable, then `LANGUAGE`
+ only if `LANG` is not set, and then the system locale
- Revamped console output of
[`interpretive_rules()`](https://amr-for-r.org/reference/interpretive_rules.md),
with section headers, S/I/R values styled as in the printing of `sir`
diff --git a/pkgdown.yml b/pkgdown.yml
index 713561247..2b4acdcce 100644
--- a/pkgdown.yml
+++ b/pkgdown.yml
@@ -10,7 +10,7 @@ articles:
PCA: PCA.html
WHONET: WHONET.html
WISCA: WISCA.html
-last_built: 2026-10-14T22:25Z
+last_built: 2026-10-15T06:29Z
urls:
reference: https://amr-for-r.org/reference
article: https://amr-for-r.org/articles
diff --git a/reference/AMR-deprecated.html b/reference/AMR-deprecated.html
index b6ab4cd71..6320aa256 100644
--- a/reference/AMR-deprecated.html
+++ b/reference/AMR-deprecated.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9136
+ 3.0.1.9137
diff --git a/reference/AMR-options.html b/reference/AMR-options.html
index de92f1b9b..83be6c412 100644
--- a/reference/AMR-options.html
+++ b/reference/AMR-options.html
@@ -9,7 +9,7 @@ options(AMR_guideline = "CLSI")'>AMR (for R)
- 3.0.1.9136
+ 3.0.1.9137
diff --git a/reference/AMR.html b/reference/AMR.html
index e47799604..5105aef27 100644
--- a/reference/AMR.html
+++ b/reference/AMR.html
@@ -21,7 +21,7 @@ The AMR package is available in English, Arabic, Bengali, Chinese, Czech, Danish
AMR (for R)
- 3.0.1.9136
+ 3.0.1.9137
diff --git a/reference/WHOCC.html b/reference/WHOCC.html
index 365b8c769..20b5634de 100644
--- a/reference/WHOCC.html
+++ b/reference/WHOCC.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9136
+ 3.0.1.9137
diff --git a/reference/WHONET.html b/reference/WHONET.html
index cee0aac88..8df3f7000 100644
--- a/reference/WHONET.html
+++ b/reference/WHONET.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9136
+ 3.0.1.9137
diff --git a/reference/ab_from_text.html b/reference/ab_from_text.html
index 65bf47f73..67c2bbd6c 100644
--- a/reference/ab_from_text.html
+++ b/reference/ab_from_text.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9136
+ 3.0.1.9137
diff --git a/reference/ab_property.html b/reference/ab_property.html
index 9fb2f5aee..3dd9af44f 100644
--- a/reference/ab_property.html
+++ b/reference/ab_property.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9136
+ 3.0.1.9137
diff --git a/reference/add_custom_antimicrobials.html b/reference/add_custom_antimicrobials.html
index 756897e9c..a767570bc 100644
--- a/reference/add_custom_antimicrobials.html
+++ b/reference/add_custom_antimicrobials.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9136
+ 3.0.1.9137
diff --git a/reference/add_custom_microorganisms.html b/reference/add_custom_microorganisms.html
index bbe0162e9..388099452 100644
--- a/reference/add_custom_microorganisms.html
+++ b/reference/add_custom_microorganisms.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9136
+ 3.0.1.9137
diff --git a/reference/age.html b/reference/age.html
index 9d4b9b9cc..f4e305ee3 100644
--- a/reference/age.html
+++ b/reference/age.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9136
+ 3.0.1.9137
@@ -112,16 +112,16 @@
df#> birth_date age age_exact age_at_y2k
-#> 1 1999-06-30 27 27.29041 0
-#> 2 1968-01-29 58 58.70685 31
-#> 3 1965-12-05 60 60.85753 34
-#> 4 1980-03-01 46 46.62192 19
-#> 5 1949-11-01 76 76.95068 50
-#> 6 1947-02-14 79 79.66301 52
-#> 7 1940-02-19 86 86.64932 59
-#> 8 1988-01-10 38 38.75890 11
-#> 9 1997-08-27 29 29.13151 2
-#> 10 1978-01-26 48 48.71507 21
+#> 1 1999-06-30 27 27.29315 0
+#> 2 1968-01-29 58 58.70959 31
+#> 3 1965-12-05 60 60.86027 34
+#> 4 1980-03-01 46 46.62466 19
+#> 5 1949-11-01 76 76.95342 50
+#> 6 1947-02-14 79 79.66575 52
+#> 7 1940-02-19 86 86.65205 59
+#> 8 1988-01-10 38 38.76164 11
+#> 9 1997-08-27 29 29.13425 2
+#> 10 1978-01-26 48 48.71781 21