library(Revticulate)
library(testthat)
test_that(
"Testing saveRev()",
{
file <- tempfile()
expect_false(file.exists(file))
doRev("2", evaluate = F)
saveRev(file)
expect_true(file.exists(file))
clearRev()
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.