tests/testthat/test-raw_data.R

test_that("raw_data works", {
  tmp = tempfile()
  dir.create(tmp)
  expect_equal(raw_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.