test to remove unit tests from build

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2023-07-13 09:42:37 +01:00
1 parent eff164ecb1
commit ddd01f9410
6 files changed
+11 -240

No files matched your search

+9 -7
View File
@@ -66,13 +66,15 @@ if (tryCatch(isTRUE(AMR:::import_fn("isJob", "rstudioapi")()), error = function(
}
# start the unit tests
out <- test_package("AMR",
testdir = ifelse(dir.exists("inst/tinytest"),
"inst/tinytest",
"tinytest"
),
verbose = 99,
color = FALSE
suppressMessages(
out <- test_package("AMR",
testdir = ifelse(dir.exists("inst/tinytest"),
"inst/tinytest",
"tinytest"
),
verbose = 99,
color = FALSE
)
)
cat("\n\nSUMMARY:\n")
print(summary(out))