tests/testthat/test-gdal.R

f <- system.file("extdata", "sst_c.fgb", package = "vapour", mustWork = TRUE)
r <- system.file("extdata", "sst.tif", package = "vapour", mustWork = TRUE)
test_that("multiplication works", {
  expect_equal(vapour_driver(f), "FlatGeobuf")
  expect_equal(vapour_driver(r), "GTiff")
  
})

Try the vapour package in your browser

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

vapour documentation built on June 22, 2024, 10:01 a.m.