Installing All Package Dependencies

Usage

install.dependencies(pkg = NULL, all = FALSE, ..., dryrun = FALSE)

Arguments

pkg
package path or source file
all
logical that indicates if 'Suggests' packages should be installed.
...
extra arguments passed to install.packages.
dryrun
logical that indicates if the packages should be effectively installed or only shown.

Description

Install all dependencies from a package source directory or package source file.

Examples

try( install.dependencies('Matrix', dryrun=TRUE) )
Package dependencies for Matrix: 'stats', 'methods', 'utils', 'lattice', 'graphics', 'grid' Missing: none
## Not run:
# install.dependencies("mypackage_1.0.tar.gz", dryrun=TRUE)
# ## End(Not run)