tests/testthat/test-use_vignette_getstarted.R

test_that("use_vignette_getstarted works", {
  
  path <- use_vignette_getstarted(package = "mypackage",
                                  save_dir = tempdir())
  testthat::expect_true(file.exists(path))
})

Try the rworkflows package in your browser

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

rworkflows documentation built on May 29, 2024, 2:37 a.m.