tests/testthat/test-get_rasters.R

test_that("get rasters with invalid tif", {
  expect_error(get_rasters(list(file = c("invalid file"))))
})

Try the geohabnet package in your browser

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

geohabnet documentation built on June 27, 2024, 5:11 p.m.