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)

scriptexec documentation built on May 2, 2019, 1:49 p.m.