stageRunnerNode_overlay: Append one stageRunnerNode around another.

Description Usage Arguments Value Examples

Description

Append one stageRunnerNode around another.

Usage

1
stageRunnerNode_overlay(other_node, label = NULL, flat = FALSE)

Arguments

other_node

stagerunner or stageRunnerNode.

label

character. Under the hood, this will be the "stage name" for the stage represented by the other_node in the automatically generated new stageRunner used as this node's callable (assuming flat is FALSE).

flat

logical. If TRUE.

Value

TRUE or FALSE according as the wrapping was successful.

Examples

1
2
3
4
5
6
7
## Not run: 
node1 <- stageRunnerNode(function(e) print(1))
node2 <- stageRunnerNode(function(e) print(2))
node1$overlay(node2)
node1$run() # Will print 1 2

## End(Not run)

syberia/stagerunner documentation built on May 30, 2019, 10:41 p.m.