rcmd_process_options: Create options for an rcmd_process object

View source: R/options.R

rcmd_process_optionsR Documentation

Create options for an rcmd_process object

Description

Create options for an rcmd_process object

Usage

rcmd_process_options(...)

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

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

r-pkgs/callr documentation built on March 29, 2024, 4:35 a.m.