\Header{package.contents}{Package Contents and Description}
\alias{package.description}{package.contents}
\keyword{utilities}{package.contents}
\begin{Description}\relax
Parses and returns the \file{CONTENTS} and \file{DESCRIPTION}
file of a package.\end{Description}
\begin{Usage}
\begin{verbatim}
package.contents(pkg, lib = .lib.loc)
package.description(pkg, lib = .lib.loc, fields = NULL)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{pkg}] A character string with the package name.
\item[\code{lib}] A character vector with path names of \R{} package
libraries.
\item[\code{fields}] A character vector of fields to return (if other fields
occur in the file they are ignored.
\end{ldescription}
\end{Arguments}
\begin{SeeAlso}\relax
\code{\Link{parse.dcf}}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
package.contents("mva")
\end{ExampleCode}
\end{Examples}

