1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 16:42:10 +02:00

(v2.1.1.9140) WISCA fix

This commit is contained in:
2025-02-05 20:48:35 +01:00
parent d84033bbcb
commit baea4323c7
23 changed files with 408 additions and 202 deletions

View File

@ -141,7 +141,11 @@ call_functions <- c(
import_functions <- c(import_functions, call_functions)
suggests <- strsplit(utils::packageDescription(pkg = ".", lib.loc = ".", fields = "Suggests"), "[,\n ]+")[[1]]
suggests <- tryCatch(strsplit(utils::packageDescription(pkg = ".", lib.loc = ".", fields = "Suggests"), "[,\n ]+")[[1]],
error = function(e) {
print(list.files())
return(import_functions)
})
for (i in seq_len(length(import_functions))) {
fn <- names(import_functions)[i]
pkg <- unname(import_functions[i])