\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)
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 \code{doc}.
\item[\code{dir}] a character string specifying the path to a package's root
source directory.  This subdirectory \code{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
to search for \code{package}.
\item[\code{quiet}] logical. Run \code{\LinkA{Sweave}{Sweave}} and
\code{\LinkA{texi2dvi}{texi2dvi}} in quiet mode.
\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}

