inst/diffexpr/mkall.R

# JMDplots/inst/vignettes/mkall.R
# 20200509 This compiles each of the vignettes for chemical analysis of differential expression,
#   which updates the CSV files that are used in the gradH2O and canH2O projects.
# 20200802 Move html files to ../doc

files <- dir(pattern = "Rmd")
print(system.time(
  for(f in files) {
    sep <- paste(rep("=", nchar(f) + 4), collapse = "")
    message()
    print(sep, quote = FALSE)
    print(paste("|", f, "|"), quote = FALSE)
    print(sep, quote = FALSE)
    rmarkdown::render(f)
#    from <- gsub("Rmd", "html", f)
#    to <- file.path("../doc", from)
#    file.rename(from, to)
  }
))
jedick/JMDplots documentation built on April 12, 2025, 1:35 p.m.