Description Usage Arguments Details
cleanup_vignettes
removes all output files that were
produced by compiling document sources. The goal is to have
only source files after the cleanup process.
1 | cleanup_vignettes(psPath = "vignettes", psPattern = "pdf$")
|
psPath |
path to root directory which should be cleaned |
psPattern |
that files to be clean match |
The approach taken in function cleanup_vignettes
is
to specify the pattern of the files to be deleted and the
pattern of the files to keep. The reason for this is that
the number of ouput formats to be specified is much smaller
than the number of files that must be kept. The files to be
removed are first collected into a vector, then the user
is asked whether to remove all files. This is a security
feature to avoid deleting files accidentally.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.