\HeaderA{package.dependencies}{Check Package Dependencies}{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", "Imports", "Suggests"))
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] A matrix of package descriptions as returned by
\code{\LinkA{available.packages}{available.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{\LinkA{update.packages}{update.packages}}
\end{SeeAlso}

