tests/testthat/test-add_resource_path.R

test_that("add_resource_path", {
  withr::with_dir(pkg, {
    expect_warning(
      add_resource_path("", "", warn_empty = TRUE)
    )
  })
})

Try the golem package in your browser

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

golem documentation built on June 7, 2023, 5:46 p.m.