Create a step to run utils::Rscript

rscript(options = NULL, expr = NULL, file = NULL, args = NULL, ...)

Arguments

options

a list of options, all beginning with --. These can be any of the options of the standard R front-end, and also those described in the details.

expr

R expression(s), properly quoted.

file

the name of a file containing R commands. - indicates stdin.

args

arguments to be passed to the script in file.

...

Arguments passed on to step

id

[character(1)] giving additional options for the step. Multiline strings are not supported. Defaults to NULL.

if

[character(1)] giving additional options for the step. Multiline strings are not supported. Defaults to NULL.

name

[character(1)] giving additional options for the step. Multiline strings are not supported. Defaults to NULL.

uses

[character(1)] giving additional options for the step. Multiline strings are not supported. Defaults to NULL.

shell

[character(1)] giving additional options for the step. Multiline strings are not supported. Defaults to NULL.

with

[list()] giving a named list of additional parameters. Defaults to NULL.

env

[list()] giving a named list of additional parameters. Defaults to NULL.

working-directory

[character(1)] giving the default working directory. Defaults to NULL.

continue-on-error

[logical(1)] giving whether to allow a job to pass when this step fails. Defaults to NULL.

timeout-minutes

[integer(1)] giving the maximum number of minutes to run the step before killing the process. Defaults to NULL.

See also

Other steps: checkout(), deploy_static, install_deps(), pkg_dev