(v1.7.0) unit tests

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2021-05-26 14:04:12 +02:00
1 parent 41d279daa1
commit f1d9b489c5
26 files changed
+333 -351

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@ for (i in seq_len(length(import_functions))) {
fn <- names(import_functions)[i]
pkg <- unname(import_functions[i])
# function should exist in foreign pkg namespace
if (pkg %in% rownames(installed.packages())) {
if (AMR:::pkg_is_available(pkg, also_load = FALSE)) {
tst <- !is.null(AMR:::import_fn(name = fn, pkg = pkg, error_on_fail = FALSE))
expect_true(tst,
info = ifelse(tst,