The R Project SVN R

Rev

Rev 28419 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

\name{package.dependencies}
\alias{package.dependencies}
\title{Check Package Dependencies}
\description{
    Parses and checks the dependencies of a package against the
    currently installed version of R [and other packages].
}
\usage{
package.dependencies(x, check=FALSE, depLevel=c("Depends", "Suggests"))
}
\arguments{
    \item{x}{A matrix of package descriptions as returned by
    \code{\link[utils]{CRAN.packages}}.}
    \item{check}{If \code{TRUE}, return logical vector of check results.
    If \code{FALSE}, return parsed list of dependencies.}
    \item{depLevel}{Whether to look for \code{Depends} or
      \code{Suggests} level dependencies.}
}
\details{
    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.
}
\seealso{\code{\link[utils]{update.packages}}}
\keyword{utilities}