(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