testthat::test_that(
"Everything looks nice",
{
rmarkdown::render("test_knitting.Rmd")
system2("open","test_knitting.pdf")
testthat::expect_true(TRUE)
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.