report_system_file <- function(file) {
system.file("rmarkdown", paste0("skeleton/", file) , package = "ENRanalytics")
}
load_html_files <- function(path) {
command <- paste0('cp ', paste0(path, "*.html"), ' ', "reports/")
system(command)
}
report_show <- function(...) {
file.path(...) %>% file.edit()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.