library(testthat)
library(ps)
if (ps::ps_is_supported() && Sys.getenv("R_COVR", "") != "true" &&
Sys.getenv("NOT_CRAN") != "" ) {
reporter <- ps::CleanupReporter(testthat::SummaryReporter)$new()
} else {
reporter <- "summary"
}
if (ps_is_supported()) test_check("ps", reporter = reporter)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.