Learn R Programming

pkgmaker (version 0.10.1)

install.dependencies: Installing All Package Dependencies

Description

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

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.

Examples

Run this code
try( install.dependencies('Matrix', dryrun=TRUE) )
install.dependencies("mypackage_1.0.tar.gz", dryrun=TRUE)

Run the code above in your browser using DataLab