test_that("TRUE", {
x <- tempfile()
invisible(file.create(x))
expect_true(isATempFile(x))
expect_true(allAreTempFiles(x))
unlink(x)
})
test_that("FALSE", {
x <- tempfile()
expect_false(isATempFile(x))
expect_false(allAreTempFiles(x))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.