Append one stageRunnerNode around another.

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

not_run({ node1 <- stageRunnerNode(function(e) print(1)) node2 <- stageRunnerNode(function(e) print(2)) node1$overlay(node2) node1$run() # Will print 1 2 })