inst/script/vignettes.R

library(purrr)
library(rmarkdown)

files <- list.files("vignettes", pattern = "\\.Rmd$", full.names=TRUE)
map(files, render, output_dir = "inst/doc", output_options = list(keep_md = FALSE))
file.rename("inst/doc/_index.html", "inst/doc/index.html")
metrumresearchgroup/yspec documentation built on May 24, 2024, 12:48 a.m.