R CMD INSTALL
to install the package. Will
also try to install dependencies of the package from
CRAN, if they're not already installed.install(pkg = ".", reload = TRUE, quick = FALSE,
local = TRUE,
args = getOption("devtools.install.args"),
quiet = FALSE, dependencies = NA)
as.package
for more informationTRUE
(the default), will
automatically reload the package after installing.TRUE
skips docs,
multiple-architectures, demos, and vignettes, to make
installation as fast as possible.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 rR CMD
install
. This defaults to the value of the option
"devtools.install.args"
.TRUE
suppresses output from this
function.logical
indicating to also
install uninstalled packages which this pkg
depends on/links to/suggests. See argument
dependencies
of install.packages
.src/
directory. If you want to avoid this, you can
use local = FALSE
to first build a package bundle
and then install it from a temporary directory. This is
slower, but keeps the source directory pristine. If the package is loaded, it will be reloaded after
installation. This is not always completely possible, see
reload
for caveats.
with_debug
to install packages with
debugging flags set. Other package installation:
install_bitbucket
,
install_git
, install_github
,
install_gitorious
,
install_url
, install_version