Skip to content

Commit 6864323

Browse files
committed
skip on older dbplyr
1 parent a468619 commit 6864323

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

r/tests/testthat/test-duckdb.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ test_that("to_duckdb then to_arrow", {
123123
)
124124

125125
# Now check errors
126+
# dbplyr 2.6.0 added "con" to the allowed $ fields on tbl_lazy;
127+
# older versions only allow "src" and "lazy_query"
128+
skip_if(packageVersion("dbplyr") < "2.6.0")
129+
126130
ds_rt <- ds |>
127131
to_duckdb() |>
128132
# factors don't roundtrip https://github.com/duckdb/duckdb/issues/1879

0 commit comments

Comments
 (0)