test_that("all exported functions have examples", {
skip_on_ci()
skip_on_cran()
exFiles <- normalizePath(dir("../../man", full.names = TRUE))
tmpdir <- withr::local_tempdir()
withr::local_dir(tmpdir)
for (file in exFiles) {
test_example(file)
}
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.