Skip to content

Commit b5057db

Browse files
committed
Use string for version comparison
1 parent f424146 commit b5057db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-external-generic.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ test_that("displays nicely", {
3030
test_that("new_method works with both hard and soft dependencies", {
3131
# NB: Relies on installed S7
3232

33-
skip_if(getRversion() < 4.1 && Sys.info()[["sysname"]] == "Windows")
33+
skip_if(getRversion() < "4.1" && Sys.info()[["sysname"]] == "Windows")
3434
skip_if(quick_test())
3535

3636
tmp_lib <- tempfile()

0 commit comments

Comments
 (0)