test_that("create_package", {
tmp_pkg <- file.path(tempdir(), "tmppkg")
print(paste("testing create_package:", tmp_pkg))
expect_equal(
basename(create_package(tmp_pkg, use_github = FALSE)), "tmppkg"
)
unlink(tmp_pkg, recursive = TRUE)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.