tests/testthat/test-extra_data.R

test_that("extra_data works", {
  tmp = tempfile()
  dir.create(tmp)
  expect_equal(extra_data('ocs-bp-opioid-rural-urban', outpath = tmp), TRUE)
})

Try the OCSdata package in your browser

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

OCSdata documentation built on Aug. 20, 2021, 9:07 a.m.