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.
|
@@ -109,7 +109,7 @@
The combine_SI argument of these functions is deprecated in favour of guideline. While set, it is followed literally and takes precedence over guideline. Use guideline = NULL instead of combine_SI = FALSE to keep S, I, and R separate.
- 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.
@@ -157,7 +157,7 @@
- Changed
+ Changed
- SIR interpretation (
as.sir())
- 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)
@@ -187,6 +187,7 @@
- Considerably faster through one consistent session cache design, which is cleared when lookup tables change, e.g., after
add_custom_microorganisms() (#313)
-
mo_*() functions now retrieve properties of valid mo input directly, and only for unique values
+- Subsetting, combining, and binding rows of
mo vectors (e.g., in rbind()) is now much faster, as codes are checked against a hashed set instead of the whole microorganisms data set
- The mapping of outdated taxonomic names to their current names is now remembered per code
- Previously coerced input is now recognised again, e.g., for an unknown species of a known genus, instead of being matched again on every call (#313)
-
@@ -246,6 +247,8 @@
- Isolates of unknown species are now included in grouped antibiograms and in
wisca(), as they already were in traditional antibiograms. They were previously excluded silently, with the warning “invalid microorganism code, NA generated”. This can change WISCA coverage estimates.
- Grouped traditional antibiograms now show the (translated) pathogen names, as ungrouped antibiograms do, instead of microorganism codes
+-
+
wisca() and wisca_plot() are considerably faster, especially with syndromic groups, by determining intrinsic resistance and pathogen names only once per regimen and pathogen
- Resistance and susceptibility calculation
- New argument
guideline (default: the AMR_guideline option, otherwise EUCAST) in susceptibility(), resistance(), count_df(), proportion_df(), sir_df(), ggplot_sir(), geom_sir(), labels_sir_count(), antibiogram(), wisca(), and bug_drug_combinations() to interpret the ‘I’ category correctly per guideline. Functions that return results per category also accept guideline = NULL to keep S, I, and R separate, while functions that return a single proportion or count give an informative error.
@@ -283,6 +286,8 @@
- MDRO determination (
mdro())
- Resistance can now be inferred from a drug/inhibitor combination when the column of the base drug is absent (e.g., piperacillin inferred from piperacillin/tazobactam). This is controlled with the new argument
infer_from_combinations (default: TRUE) (#209).
- BRMO classification now includes bacterial complexes (#275)
+- Fixed a bug in the CMI 2012 guideline where pandrug-resistant (PDR) isolates were classified as extensively drug-resistant (XDR), and another isolate could be marked as PDR instead, if the isolate was not among the first rows of the data. This can change the PDR and XDR results of
guideline = "CMI 2012" (the default).
+- Considerably faster, as the classes per isolate are now determined per column instead of per cell
-
top_n_microorganisms()
@@ -315,7 +320,7 @@
- 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 section Interpretation of SIR (in
?as.sir) now explains for all functions with a guideline argument for aggregated analyses how S, SDD, I, R, WT, NWT, NS, and NI are categorised per guideline. The handling of ‘I’ per MDRO guideline in mdro() will be revised in a future version (#323).
-
diff --git a/news/index.md b/news/index.md
index fa4864c13..5d264f144 100644
--- a/news/index.md
+++ b/news/index.md
@@ -1,6 +1,6 @@
# Changelog
-## AMR 3.0.1.9152
+## AMR 3.0.1.9153
Planned as v3.1.0, mid October 2026.
@@ -263,6 +263,10 @@ Planned as v3.1.0, mid October 2026.
([\#313](https://github.com/msberends/AMR/issues/313))
- `mo_*()` functions now retrieve properties of valid `mo` input
directly, and only for unique values
+ - Subsetting, combining, and binding rows of `mo` vectors (e.g., in
+ [`rbind()`](https://rdrr.io/r/base/cbind.html)) is now much faster,
+ as codes are checked against a hashed set instead of the whole
+ `microorganisms` data set
- The mapping of outdated taxonomic names to their current names is
now remembered per code
- Previously coerced input is now recognised again, e.g., for an
@@ -405,6 +409,11 @@ Planned as v3.1.0, mid October 2026.
estimates.
- Grouped traditional antibiograms now show the (translated) pathogen
names, as ungrouped antibiograms do, instead of microorganism codes
+ - [`wisca()`](https://amr-for-r.org/reference/antibiogram.md) and
+ [`wisca_plot()`](https://amr-for-r.org/reference/antibiogram.md) are
+ considerably faster, especially with syndromic groups, by
+ determining intrinsic resistance and pathogen names only once per
+ regimen and pathogen
- Resistance and susceptibility calculation
- New argument `guideline` (default: the `AMR_guideline` option,
otherwise EUCAST) in
@@ -507,6 +516,13 @@ Planned as v3.1.0, mid October 2026.
([\#209](https://github.com/msberends/AMR/issues/209)).
- BRMO classification now includes bacterial complexes
([\#275](https://github.com/msberends/AMR/issues/275))
+ - Fixed a bug in the CMI 2012 guideline where pandrug-resistant (PDR)
+ isolates were classified as extensively drug-resistant (XDR), and
+ another isolate could be marked as PDR instead, if the isolate was
+ not among the first rows of the data. This can change the PDR and
+ XDR results of `guideline = "CMI 2012"` (the default).
+ - Considerably faster, as the classes per isolate are now determined
+ per column instead of per cell
- [`top_n_microorganisms()`](https://amr-for-r.org/reference/top_n_microorganisms.md)
- New argument `property_for_each` for sub-grouping within the top *n*
groups. Rank ordering is enforced, so that only lower taxonomic
diff --git a/pkgdown.yml b/pkgdown.yml
index 9d95a27ce..b370ccb6a 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-16T02:38Z
+last_built: 2026-10-16T04:13Z
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 db3ee29ee..293b91edf 100644
--- a/reference/AMR-deprecated.html
+++ b/reference/AMR-deprecated.html
@@ -7,7 +7,7 @@
AMR (for R)
- 3.0.1.9152
+ 3.0.1.9153
|
|---|