test_that("tempSubdirectory() works", {
y <- tempSubdirectory("abc")
expect_is(y, "character")
expect_true(file.exists(y))
expect_identical(basename(y), "abc")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.