Skip to content

Commit

Permalink
skip test on previous versions of R
Browse files Browse the repository at this point in the history
  • Loading branch information
Tmonster authored and krlmlr committed Nov 8, 2023
1 parent b85adea commit c65e0d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test_strings.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
library(duckdb)

test_that("Invalid unicode produces an error", {
# this doesn't throw an error on previous versions of R
skip_if_no_R4()
con <- DBI::dbConnect(duckdb::duckdb())

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

0 comments on commit c65e0d4

Please sign in to comment.