if (requireNamespace("tinytest", quietly=TRUE)) {
if (length(unclass(packageVersion("visreg"))[[1]]) == 4 | Sys.getenv('R_FORCE_TEST') == 'TRUE') {
tinytest::test_package("visreg", pattern="^[^_].*\\.[rR]$")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.