mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 08:30:49 +01:00
fixes
This commit is contained in:
1 parent
9e99e66f01
commit
f7dd890b79
6 files changed
+26
-12
No files matched your search
+1
-1
@@ -363,7 +363,7 @@ set_ab_names <- function(data, ..., property = "name", language = get_AMR_locale
|
||||
|
||||
if (is.data.frame(data)) {
|
||||
if (tryCatch(length(list(...)) > 0, error = function(e) TRUE)) {
|
||||
out <- tryCatch(suppressWarnings(c(...)), error = function(e) NULL)
|
||||
out <- tryCatch(suppressWarnings(unlist(list(...))), error = function(e) NULL)
|
||||
if (!is.null(out)) {
|
||||
df <- data[, out, drop = FALSE]
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user