test_that("get_chelsa works", {
skip_on_cran()
expect_error(get_chelsa(1970))
gc <- get_chelsa(years = 2010)
expect_silent(.check_resource_fun(gc))
fps <- gc(aoi)
expect_silent(fps <- .check_footprints(fps))
expect_equal(nrow(fps), 12)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.