devtools (version 1.13.2)

RCMD: Run R CMD xxx from within R

Description

Run R CMD xxx from within R

Usage

RCMD(cmd, options, path = tempdir(), env_vars = character(), ...)

Arguments

cmd

one of the R tools available from the R CMD interface.

options

a character vector of options to pass to the command

path

the directory to run the command in.

env_vars

environment variables to set before running the command.

...

additional arguments passed to system_check

Value

TRUE if the command succeeds, throws an error if the command fails.