build_output: Builds the output structure.

Description Usage Arguments Value Examples

View source: R/scriptexec.R

Description

Builds the output structure.

Usage

1
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

1
2
3
output <- c('line 1', '\n', 'line 2')
attr(output, 'status') <- 15
script_output <- build_output(output)

sagiegurari/scriptexec documentation built on Oct. 5, 2020, 6:42 p.m.