skip_if_sensitive_data_missing <- function() {
sensitive_path <- Sys.getenv("NAOMI_SENSITIVE_DATA_PATH",
"testdata/sensitive")
if (!file.exists(file.path("testdata", "sensitive"))) {
skip("Sensitive data missing, check README for details.")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.