Skip to content

Commit abcaf3d

Browse files
committed
Be more explicit about required version
1 parent 0265727 commit abcaf3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/pkg/tests/run-all.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#
1717

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

0 commit comments

Comments
 (0)