tests/testthat/test-geobon_download.R

test_that("download works", {
  geobon_download(id = 1, path = tempdir())
  expect_true(file.exists(file.path(tempdir(), "cSAR_idiv_v1.nc")))
})
VLucet/rgeobon documentation built on March 17, 2021, 12:03 a.m.