if (requireNamespace("tinytest", quietly=TRUE) &&
utils::packageVersion("tinytest") >= "1.1.0") {
## Set a seed to make the tests deterministic
set.seed(42)
tinytest::test_package("inline")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.