Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

install_dir

Install a source package from a directory


Description

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

Usage

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.


xfun

Miscellaneous Functions to Support Packages Maintained by 'Yihui Xie'

v0.22
MIT + file LICENSE
Authors
Yihui Xie [aut, cre, cph] (<https://orcid.org/0000-0003-0645-5666>), Wush Wu [ctb], Daijiang Li [ctb], Xianying Tan [ctb], Salim Brüggemann [ctb] (<https://orcid.org/0000-0002-5329-5987>), Christophe Dervieux [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.