Nothing
knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
These potentially long running examples/tutorials are available on (https://eliaskrainski.github.io/INLAspacetime/)
files <- list.files("web", "\\.Rmd$") for (file in files) { lines <- readLines(file.path("web", file), n = 10) title_idx <- grep("^title: ", lines) if (length(title_idx) > 0) { title <- sub("^title: ", "", lines[title_idx[1]]) title <- sub('^"', "", title) title <- sub('"$', "", title) cat("* [", title, "]( https://eliaskrainski.github.io/INLAspacetime/articles/web/", sub("\\.Rmd", ".html", file), ")\n", sep = "" ) } }
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.