tests/testthat/test-chelsa.R

test_that("chelsa() fails gracefully", {
  expect_error(chelsa(out = "", loc = "", var = "stop"), "invalid `var`")
})

Try the climenv package in your browser

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

climenv documentation built on Nov. 3, 2023, 1:08 a.m.