tests/testthat/test-vsi_list.R

test_that("vsi list works", {
  pointzipfile <- system.file("extdata/vsi/point_shp.zip", package = "vapour", mustWork = TRUE)
  
  expect_equal(vapour_vsi_list(sprintf("/vsizip/%s", pointzipfile)), paste("point", c("dbf", "shx", "shp"), sep = "."))
})

Try the vapour package in your browser

Any scripts or data that you put into this service are public.

vapour documentation built on April 11, 2023, 5:59 p.m.