tests/testthat/test-cache.R

skip_on_cran()
context("cache")

test_that("flush_cache()", {
  expect_output(expect_is(basemap(ext, map_dir = map_dir, verbose = T), "NULL"))
  expect_output(flush_cache())
})

Try the basemaps package in your browser

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

basemaps documentation built on Nov. 1, 2024, 5:07 p.m.