buildVignettes {tools} | R Documentation |
Run Sweave
and texi2dvi
on all vignettes
of a package.
buildVignettes(package, dir, lib.loc = NULL, quiet = TRUE, clean = TRUE) pkgVignettes(package, dir, lib.loc = NULL)
package |
a character string naming an installed package. If given, Sweave files are searched in subdirectory ‘doc’. |
dir |
a character string specifying the path to a package's root source directory. This subdirectory ‘vignettes’ (or if it does not exist ‘inst/doc’) is searched for Sweave files. |
lib.loc |
a character vector of directory names of R libraries,
or |
quiet |
|
clean |
Remove all files generated by the build, even if there were copies there before. |
buildVignettes
is used by R CMD build
and R CMD
check
to (re-)build vignette PDFs on the Sweave sources.
buildVignettes
is called for its side effect of creating the
PDF versions of all vignettes.
pkgVignettes
returns an object of class "pkgVignettes"
if a vignette directory is found, otherwise NULL
.