r_cmd_install: Install a Tarball or a Directory

View source: R/r.R

r_cmd_installR Documentation

Install a Tarball or a Directory

Description

devtools::install by defaults first builds the tarball. Then it calls callr::rcmd, which allows for a lot of options.

Usage

r_cmd_install(
  ...,
  path = ".",
  r = get_r_binary(),
  r_args = "--vanilla",
  try_tarball = TRUE
)

Arguments

...

Arguments passed to CMD INSTALL.

path

A path to a directory, but see try_tarball.

r

An R binary.

r_args

Arguments passed to R.

try_tarball

If TRUE, the path may be a tarball, else it is interpreted as a path to a directory.

Value

The return value of system2.

See Also

Other bits and pieces: golden_ratio(), is_difftime_less(), is_valid_primary_key(), str2num(), strip_off_attributes(), tapply(), throw()


fritools documentation built on Nov. 19, 2023, 1:06 a.m.