Sys.unsetenv("R_TESTS")
if (require(testthat, quietly = TRUE)) {
require(dbarts)
test_check("dbarts")
} else {
cat("package 'testthat' not available; cannot run unit tests\n")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.