library(testthat)
library(insight)
if (length(strsplit(packageDescription("insight")$Version, "\\.")[[1]]) > 3) {
Sys.setenv("RunAllinsightTests" = "yes")
} else {
Sys.setenv("RunAllinsightTests" = "no")
}
test_check("insight")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.