tests/testthat/test-rd.R

context("RD files")

pkg_path <- system.file(package = "dados")

test_that("Help generator works", {
  expect_silent(
    dados:::folder_rd(
      file.path(pkg_path, "specs"),
      tempdir()
    )
  )
})

Try the dados package in your browser

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

dados documentation built on March 18, 2022, 7:14 p.m.