1
0
mirror of https://github.com/msberends/AMR.git synced 2026-04-28 12:23:54 +02:00

(v3.0.1.9047) fix #272

This commit is contained in:
2026-04-21 22:11:40 +02:00
parent 8ff5d4472a
commit e0f8cf0882
7 changed files with 19 additions and 20 deletions

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