mirror of
https://github.com/msberends/AMR.git
synced 2025-07-20 16:13:21 +02:00
(v1.6.0.9030) new unit test flow
This commit is contained in:
@ -27,7 +27,10 @@
|
||||
# able to install it. Yet, we want basic R CMD CHECK's in those R versions
|
||||
# as well, so only run unit tests in later R versions:
|
||||
if (require("testthat", warn.conflicts = FALSE)) {
|
||||
library(testthat)
|
||||
library(AMR)
|
||||
# print non-base packages
|
||||
print(as.data.frame(utils::installed.packages())[which(is.na(as.data.frame(utils::installed.packages())$Priority)),
|
||||
"Version",
|
||||
drop = FALSE])
|
||||
test_check("AMR")
|
||||
}
|
||||
|
Reference in New Issue
Block a user