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

test to remove unit tests from build

This commit is contained in:
2023-07-13 09:42:37 +01:00
parent eff164ecb1
commit ddd01f9410
6 changed files with 11 additions and 240 deletions

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))