setup <- function()
{
message('Setting up default qwd at testlog')
require(qrmarkdown)
require(testthat)
if(file.exists('testlog'))
system('rm -r testlog')
q.wd('testlog', full.name = TRUE)
dir('testlog')
}
clean <- function()
{
message("Cleaning log directories")
if(file.exists('testlog'))
system('rm -r testlog')
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.