(v3.0.1.9047) fix #272

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2026-04-21 22:11:40 +02:00
1 parent 8ff5d4472a
commit e0f8cf0882
7 files changed
+19 -20

No files matched your search

+1 -1
View File
@@ -361,7 +361,7 @@ ab_property <- function(x, property = "name", language = get_AMR_locale(), ...)
meet_criteria(x, allow_NA = TRUE)
meet_criteria(property, is_in = colnames(AMR::antimicrobials), has_length = 1)
language <- validate_language(language)
translate_into_language(ab_validate(x = x, property = property, ...), language = language)
translate_into_language(ab_validate(x = x, property = property, ...), language = language, only_affect_ab_names = TRUE)
}
#' @rdname ab_property
+1 -1
View File
@@ -1140,7 +1140,7 @@ edit_sir <- function(x,
add_if_missing) {
cols <- unique(cols[!is.na(cols) & !is.null(cols)])
rows <- unique(rows)
# for Verbose Mode, keep track of all changes and return them
track_changes <- list(
added = 0,