We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69544ae commit c7ed64aCopy full SHA for c7ed64a
R/pkg/tests/run-all.R
@@ -61,7 +61,7 @@ if (identical(Sys.getenv("NOT_CRAN"), "true")) {
61
set.seed(42)
62
63
# To be removed once testthat 1.x is removed from all builds
64
- if (grepl("^1\\..*", installed.packages()["testthat", "Version"])) {
+ if (grepl("^1\\..*", packageVersion("testthat"))) {
65
# testthat 1.x
66
test_runner <- testthat:::run_tests
67
reporter <- "summary"
0 commit comments