R_CMD_INSTALL: Run R CMD INSTALL

View source: R/versions.R

R_CMD_INSTALLR Documentation

Run R CMD INSTALL

Description

Uses system() and shQuote() to run R CMD INSTALL, installing the package in libPaths()[1]. Can be used in pkg.edit.fun passed to atime_pkg, to check if an edited package installs without error.

Usage

R_CMD_INSTALL(new.pkg.path)

Arguments

new.pkg.path

path to package

Value

Status code from system(), 0 for successful installation, other values for installation errors.

Author(s)

Toby Dylan Hocking


atime documentation built on Sept. 18, 2026, 1:06 a.m.

Related to R_CMD_INSTALL in atime...