cleanup_slidesdir: Clean up output files from slide compilation

Description Usage Arguments Details

Description

Cleaning up files and directories that are produced while compiling different types of rmarkdown sources. If certain files should be ignored by the cleanup function, then their extension can be specified as a component of the vector passed as function parameter psFormatToKeep. If directories should be kept, then their name can be specified as a component of the parameter vector psDirsToKeep.

Usage

1
2
3
cleanup_slidesdir(psSlidesDir = "vignettes", psFormatToKeep = c("rmd$",
  "rnw$", "cls$", "rpres$"), psDirsToKeep = c("ETH-BG", "odg", "png", "tex",
  "pdf"))

Arguments

psSlidesDir

root directory of document source files

psFormatToKeep

file extensions of source files to be ignored by cleanup

psDirsToKeep

explicit names of directories to be ignored by cleanup

Details

As a security feature, a question to the user is asked whether or not to delete the output files.


charlotte-ngs/rcoursetools documentation built on May 13, 2019, 3:34 p.m.