files <- list.files("data-raw", full.names = TRUE)
files <- files[grepl("\\.[rR]$", files)]
files <- files[files != "data-raw/make-all.R"]
print(files)
for (f in files) {
cat("sourcing: ", f, "\n")
try(source(f))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.