devtools (version 1.2)

install: Install a local development 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 = ".", reload = TRUE, quick = FALSE,
    local = TRUE,
    args = getOption("devtools.install.args"),
    quiet = FALSE)

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.
quick
if TRUE skips docs, multiple-architectures, demos, and vignettes, to make installation as fast as possible.
local
if TRUE does not build the package first, instead installing from the local package directory. This may result in build artefacts in your package directory, but is considerably faster, and does not require a recompile every time you r
args
An optional character vector of additional command line arguments to bew passed to R CMD install. This defaults to the value of the option "devtools.install.args".
quiet
if TRUE suppresses output from this function.

Details

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

See Also

with_debug to install packages with debugging flags set.

Other package installation: install_bitbucket, install_git, install_github, install_gitorious, install_url, install_version