packageDependencies: List Package Dependencies

Description Usage Arguments

Description

List Package Dependencies

Usage

1
2
3
packageDependencies(x, all = FALSE, available = NULL,
  missing.only = FALSE, recursive = FALSE, as.list = FALSE,
  names.only = TRUE, rm.base = TRUE)

Arguments

x

path to package source directory or file.

all

logical that indicates if all dependencies should be returned, or only the required ones.

available

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.

missing.only

logical that indicates if only non-installed dependencies should be included in the result

recursive

logical that indicates if indirect dependencies should also be included.

as.list

logical that indicates if the result should be a list with one element per type of dependency.

names.only

logical that indicates if the result should only include the dependencies package names

rm.base

logical that indicates if base packages – that come installed with any R installation – should be exlcuded from the result.


renozao/repotools documentation built on May 27, 2019, 5:53 a.m.