Skip to content

Commit

Permalink
Be more explicit about required version
Browse files Browse the repository at this point in the history
  • Loading branch information
zero323 committed Jan 24, 2020
1 parent 0265727 commit abcaf3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/pkg/tests/run-all.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

# TODO Remove before merging SPARK-23435
if (grepl("^1\\.\\d+\\.\\d+$", installed.packages()["testthat", "Version"])) {
if (!grepl("^2\\..*", installed.packages()["testthat", "Version"])) {
install.packages("testthat", repos = "https://cloud.r-project.org/")
}

Expand Down

0 comments on commit abcaf3d

Please sign in to comment.