1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-09 17:02:03 +02:00

(v2.1.1.9253) parallel computing

This commit is contained in:
2025-04-26 15:47:00 +02:00
parent abee2a954e
commit 4e7fca3b38
13 changed files with 2311 additions and 44 deletions

2
R/ab.R
View File

@ -139,7 +139,7 @@ as.ab <- function(x, flag_multiple_results = TRUE, language = get_AMR_locale(),
if (toupper(paste(abnames, collapse = " ")) %in% AMR_env$AB_lookup$generalised_name) {
# if the found values combined is a valid AB, return that
found <- AMR_env$AB_lookup$ab[match(toupper(paste(abnames, collapse = " ")), AMR_env$AB_lookup$generalised_name)][1]
} else {
} else if (isTRUE(info)) {
message_(
"More than one result was found for item ", index, ": ",
vector_and(abnames, quotes = FALSE)