install_dir: Install a source package from a directory

Description Usage Arguments Value

View source: R/packages.R

Description

Run R CMD build to build a tarball from a source directory, and run R CMD INSTALL to install it.

Usage

1
install_dir(src, build = TRUE, build_opts = NULL, install_opts = NULL)

Arguments

src

The package source directory.

build

Whether to build a tarball from the source directory. If FALSE, run R CMD INSTALL on the directory directly (note that vignettes will not be automatically built).

build_opts

The options for R CMD build.

install_opts

The options for R CMD INSTALL.

Value

Invisible status from R CMD INSTALL.


yihui/xfun documentation built on Oct. 25, 2018, 11:44 p.m.