mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 08:52:15 +02:00
support new mo codes
This commit is contained in:
@ -11,9 +11,9 @@
|
||||
# Data. Journal of Statistical Software, 104(3), 1-31. #
|
||||
# doi:10.18637/jss.v104.i03 #
|
||||
# #
|
||||
# Developed at the University of Groningen, the Netherlands, in #
|
||||
# collaboration with non-profit organisations Certe Medical #
|
||||
# Diagnostics & Advice, and University Medical Center Groningen. #
|
||||
# Developed at the University of Groningen and the University Medical #
|
||||
# Center Groningen in The Netherlands, in collaboration with many #
|
||||
# colleagues from around the world, see our website. #
|
||||
# #
|
||||
# This R package is free software; you can freely use and distribute #
|
||||
# it for both personal and commercial purposes under the terms of the #
|
||||
@ -91,7 +91,7 @@
|
||||
#' ab_name("amox/clav")
|
||||
get_AMR_locale <- function() {
|
||||
# a message for this will be thrown in translate_into_language() if outcome is non-English
|
||||
if (!is.null(getOption("AMR_locale", default = NULL))) {
|
||||
if (!is.null(getOption("AMR_locale"))) {
|
||||
return(validate_language(getOption("AMR_locale"), extra_txt = "set with `options(AMR_locale = ...)`"))
|
||||
}
|
||||
lang <- ""
|
||||
|
Reference in New Issue
Block a user