rcmd_process_options: Create options for an rcmd_process object

Description Usage Arguments Value Examples

View source: R/options.R

Description

Create options for an rcmd_process object

Usage

1

Arguments

...

Options to override, named arguments.

Value

A list of options.

rcmd_process_options() creates a set of options to initialize a new object from the rcmd_process class. Its arguments must be named, the names are used as option names. The options correspond to (some of) the arguments of the rcmd() function. At least the cmd option must be specified, to select the R CMD subcommand to run. Typically cmdargs is specified as well, to supply more arguments to R CMD.

Examples

1
2
## List all options and their default values:
rcmd_process_options()

r-pkgs/callr documentation built on July 13, 2018, 10:32 p.m.