scriptexec (version 0.3.1)

build_output: Builds the output structure.

Description

Builds the output structure.

Usage

build_output(output, wait)

Arguments

output

The invocation output

wait

A TRUE/FALSE parameter, indicating whether the function should wait for the command to finish, or run it asynchronously

Value

The script output structure

Examples

Run this code
# NOT RUN {
output <- c('line 1', '\n', 'line 2')
attr(output, 'status') <- 15
script_output <- build_output(output)
# }

Run the code above in your browser using DataLab