test_that("uninstalled_formats()", {
skip_on_cran()
formats <- uninstalled_formats()
if (is.null(formats)) {
expect_true(install_formats())
} else {
expect_type(formats, "character")
}
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.