(v2.1.1.9287) fix antibiotics

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2025-06-01 12:17:47 +02:00
1 parent e70f3de02e
commit 5667ce3eae
13 files changed
+16 -69

No files matched your search

-11
View File
@@ -35,17 +35,6 @@
#' @rdname AMR-deprecated
NULL
#' @rdname AMR-deprecated
#' @usage antibiotics
#' @export
antibiotics <- local({
warned <- FALSE
value <- AMR::antimicrobials
structure(
value,
class = c("deprecated_amr_dataset", class(value))
)
})
.amr_deprecation_warn <- function() {
deprecation_warning(old = "antibiotics", new = "antimicrobials", is_dataset = TRUE)
invisible(NULL)