(v2.1.1.9142) unit test fix

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2025-02-07 19:03:02 +01:00
1 parent 8ba2e4ed94
commit cc2bb151ab
11 files changed
+21 -23

No files matched your search

+1 -2
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])