tests/testthat/test-rd.R

context("RD files")

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

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

Try the datos package in your browser

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

datos documentation built on July 26, 2023, 6:08 p.m.