devtools (version 0.4)

install: Install a package.

Description

Uses R CMD INSTALL to install the package. Will also try to install dependencies of the package from CRAN, if they're not already installed.

Usage

install(pkg = NULL, reload = TRUE)

Arguments

pkg
package description, can be path or package name. See as.package for more information
reload
if TRUE (the default), will automatically reload the package after installing.

Details

Installation takes place on a copy of the package produced by R CMD build to avoid modifying the local directory in any way.