\HeaderA{buildVignettes}{List and Build Package Vignettes}{buildVignettes}
\aliasA{pkgVignettes}{buildVignettes}{pkgVignettes}
\keyword{utilities}{buildVignettes}
\keyword{documentation}{buildVignettes}
\begin{Description}\relax
Run \code{\LinkA{Sweave}{Sweave}} and \code{\LinkA{texi2dvi}{texi2dvi}} on all vignettes
of a package.
\end{Description}
\begin{Usage}
\begin{verbatim}
buildVignettes(package, dir, lib.loc = NULL, quiet = TRUE, clean = TRUE)
pkgVignettes(package, dir, lib.loc = NULL)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{package}] a character string naming an installed package.  If
given, Sweave files are searched in subdirectory \file{doc}.
\item[\code{dir}] a character string specifying the path to a package's root
source directory.  This subdirectory \file{inst/doc} is searched for
Sweave files.
\item[\code{lib.loc}] a character vector of directory names of \R{} libraries,
or \code{NULL}.  The default value of \code{NULL} corresponds to all
libraries currently known.  The specified library trees are used to
search for \code{package}.
\item[\code{quiet}] logical. Run \code{\LinkA{Sweave}{Sweave}} and
\code{\LinkA{texi2dvi}{texi2dvi}} in quiet mode.
\item[\code{clean}] Remove all files generated by the build, even if there
were copies there before.
\end{ldescription}
\end{Arguments}
\begin{Value}
\code{buildVignettes} is called for its side effect of creating the
PDF versions of all vignettes.

\code{pkgVignettes} returns an object of class \code{"pkgVignettes"}.
\end{Value}

