context('explicit')
test_that('explicit',{
temp = tempfile()
cat("test_that('lol')\n",file = temp)
explicit(temp)
expect_that(readLines(temp),testthat::equals("testthat::test_that('lol')"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.