\Header{package.dependencies}{Check Package Dependencies}
\keyword{utilities}{package.dependencies}
\begin{Description}\relax
Parses and checks the dependencies of a package against the
currently installed version of R [and other packages].
\end{Description}
\begin{Usage}
\begin{verbatim}
package.dependencies(x, check=FALSE, depLevel=c("Depends", "Suggests"))
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] A matrix of package descriptions as returned by
\code{\Link{CRAN.packages}}.
\item[\code{check}] If \code{TRUE}, return logical vector of check results.
If \code{FALSE}, return parsed list of dependencies.
\item[\code{depLevel}] Whether to look for \code{Depends} or
\code{Suggests} level dependencies.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
Currently we only check if the package conforms with the currently
running version of R. In the future we might add checks for
inter-package dependencies.
\end{Details}
\begin{SeeAlso}\relax
\code{\Link{update.packages}}
\end{SeeAlso}

