Skip to content

Commit 55af151

Browse files
committed
make test conditional to GDAL >= 3.5.0
1 parent b2142f8 commit 55af151

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/testthat/test-read.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ test_that("Missing data sources have useful error message (#967)", {
204204
})
205205

206206
test_that("Field domains are read from a geopackage", {
207+
skip_if_not(sf_extSoftVersion()[['GDAL']] >= '3.5.0')
207208
r = read_sf(system.file("gpkg/td.gpkg.zip", package = "sf"), options=c("IMMUTABLE=YES"))
208209
expect_false(is.null(attr(r, "FieldDomains")))
209210
expect_false(is.null(attr(r, "domains")))

0 commit comments

Comments
 (0)