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

(v2.1.1.9142) unit test fix

This commit is contained in:
2025-02-07 19:03:02 +01:00
parent 8ba2e4ed94
commit cc2bb151ab
11 changed files with 21 additions and 23 deletions

View File

@ -141,8 +141,7 @@ call_functions <- c(
import_functions <- c(import_functions, call_functions)
suggests <- tryCatch(strsplit(pkgload::pkg_desc()$get_field("Suggests"), "[,\n ]+")[[1]],
error = function(e) unname(import_functions))
suggests <- strsplit(utils::packageDescription("AMR")$Suggests, "[,\n ]+")[[1]]
for (i in seq_len(length(import_functions))) {
fn <- names(import_functions)[i]
pkg <- unname(import_functions[i])