library(Revticulate)
library(knitr)
if(Sys.info()["sysname"] != "Windows")
library(comprehenr)
test_that(
"Testing knitRev()",
{
clearRev()
knitRev()
expect_true(any(names(knitr::knit_engines$get()) == "rb"))
clearRev()
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.