tests/testthat/test-check-user-resources.R

test_that("check_user_resources works", {
  expect_snapshot(
    error = TRUE,
    check_user_resources(resources = c("custom_format" = 1))
  )
  expect_silent(
    check_user_resources(resources = c("anything else" = 1))
  )
})

Try the geotargets package in your browser

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

geotargets documentation built on June 8, 2025, 11:54 a.m.