A Pipeline object is automatically constructed as calls to
make_*()
are made. It stores the relationships between targets,
dependencies, and sources.
Other pipeline:
pipeline-accessors
,
pipeline-vis
segments
A list of Segment
objects
add_source_segment()
Add an edge to edges
Add any nodes in private$edges
that are missing from
private$nodes
into private$nodes
Reconstruct Pipeline edges from Segment edges. Called primarily to update outofdateness
Add a pipeline segment corresponding to a make_with_source()
call
source
The path to an R script which makes the targets
targets
A character vector of paths to files
dependencies
A character vector of paths to files which the
targets
depend on
packages
A character vector of names of packages which targets
depend on
envir
The environment in which to execute the source
or recipe
.
force
A logical determining whether or not execution of the source
or recipe
will be forced (i.e. happen whether or not the targets are
out-of-date)
new_edge
An data.frame constructed with new_edge()
add_recipe_segment()
Add a pipeline segment corresponding to a make_with_recipe()
call
recipe
A language object which, when evaluated, makes the targets
targets
A character vector of paths to files
dependencies
A character vector of paths to files which the
targets
depend on
packages
A character vector of names of packages which targets
depend on
envir
The environment in which to execute the source
or recipe
.
force
A logical determining whether or not execution of the source
or recipe
will be forced (i.e. happen whether or not the targets are
out-of-date)
nomnoml()
Display the pipeline with nomnoml
direction
The direction the flowchart should go in
arrow_size
The arrowhead size
edge_style
The arrow edge style
bend_size
The degree of rounding in the arrows (requires
edge_style=rounded
)
font
The name of a font to use
font_size
The font size
line_width
The line width for arrows and box outlines
padding
The amount of padding within boxes
spacing
The amount of spacing between boxes,
leading
The amount of spacing between lines of text
stroke
The color of arrows, text, and box outlines
fill_arrows
Whether arrow heads are full triangles (TRUE
) or
angled (FALSE
)
gutter
The amount space to leave around the flowchart
edge_margin
The amount of space to leave between boxes and arrows
visnetwork()
Display the pipeline with nomnoml
...
Arguments (other than nodes
and edges
) to pass to
visNetwork::visNetwork()
print()
Display
...
Arguments (other than nodes
and edges
) to pass to
visNetwork::visNetwork()
save_visnetwork()
Save pipeline visNetwork
file
File to save HTML into
selfcontained
Whether to save the HTML as a single self-contained file (with external resources base64 encoded) or a file with external resources placed in an adjacent directory.
background
Text string giving the html background color of the widget. Defaults to white.
...
Arguments (other than nodes
and edges
) to pass to
visNetwork::visNetwork()
save_nomnoml()
Save pipeline nomnoml