Description Usage Arguments Details
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.
1 2 3 | cleanup_slidesdir(psSlidesDir = "vignettes", psFormatToKeep = c("rmd$",
"rnw$", "cls$", "rpres$"), psDirsToKeep = c("ETH-BG", "odg", "png", "tex",
"pdf"))
|
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 |
As a security feature, a question to the user is asked whether or not to delete the output files.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.