tests/testthat/test-gdal.R

f <- system.file("extdata", "sst_c.gpkg", package = "vapour", mustWork = TRUE)
r <- system.file("extdata", "sst.tif", package = "vapour", mustWork = TRUE)
test_that("multiplication works", {
  expect_equal(vapour_driver(f), "GPKG")
  expect_equal(vapour_driver(r), "GTiff")
  
})
hypertidy/vapour documentation built on March 2, 2024, 7:59 p.m.