List Package Dependencies
packageDependencies(x, all = TRUE, as.list = FALSE,
available = NULL)
path to package source directory or file.
logical that indicates if all dependencies should be returned, or only the required ones.
logical that indicates if the result should be a list with one element per type of dependency.
a matrix of available packages (as
returned by available.packages
), from which
the dependencies are retrieved. This means that there
must be a row for the package x
.