context("cache_root")
test_that("cache_root works", {
dn <- cache_root()
expect_true(dir.exists(dn))
})
test_that("verbosity", {
expect_message(
cache_root(verbose = TRUE),
"root is:")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.