Skip to content

Commit 0a48fd4

Browse files
Tmonsterkrlmlr
authored andcommitted
fix skip if condition
1 parent c65e0d4 commit 0a48fd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/test_strings.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
library(duckdb)
22

33
test_that("Invalid unicode produces an error", {
4-
# this doesn't throw an error on previous versions of R
5-
skip_if_no_R4()
4+
# this doesn't throw an error on old releases of R.
5+
skip_if(R.Version()$major <= 4 && R.Version()$minor <= 2.3)
66
con <- DBI::dbConnect(duckdb::duckdb())
77

88
my_df <- structure(list(no_municipio_esc = "Est\xe2ncia", no_municipio_prova = "Est\xe2ncia"), row.names = 16L, class = "data.frame")

0 commit comments

Comments
 (0)