All functions

boolean_fill

Fill a nested logical list with TRUEs before or after the first TRUE

compare_stage_keys

Compare two stage keys to see which one has a stage run first

copy_env

Copy one environment into another recursively.

is_pre_stagerunner

Whether or not an object can be transformed into a stageRunner.

is.stagerunner is.stageRunner

Check whether an R object is a stageRunner object

nested_names

Delimited names of a nested list.

normalize_stage_keys

Normalize a reference to stage keys

OOP_type_independent_method

Call a method on an object regardless of its OOP type.

run

Run the stages in a stageRunner object.

show_message

Show a progress message when executing a stagerunner.

special_and_lists

AND two lists together with some regards for nesting

special_or_lists

OR two lists together with some regards for nesting

stageRunner_.before_env

Get an environment representing the context directly before executing a given stage.

stageRunner_.clear_cache

Clear all caches in this stageRunner, and recursively.

stageRunner_.mark_finished

Mark a given stage as being finished.

stageRunner_.root

Determine the root of the stageRunner.

stageRunner_.set_parents

Set all parents for this stageRunner, and recursively

stageRunner_.set_prefixes

Set all prefixes for child stageRunners.

stageRunner_append

Append one stageRunner to the end of another.

stageRunner_around

Wrap a function around a stageRunner's terminal nodes

stageRunner_coalesce

Coalescing a stageRunner object is taking another stageRunner object with similar stage names and replacing the latter's cached environments with the former's.

stageRunner_current_stage

This allows us to get the furthest executed stage.

stageRunner_has_key

Whether or not the stageRunner has a key matching this input.

stagerunner_initialize

Initialize a stageRunner object.

stageRunner_next_stage

For stageRunners with caching, find the next unexecuted stage.

stageRunner_overlay

Overlaying a stageRunner object is taking another stageRunner object with similar stage names and adding the latter's stages as terminal stages to the former (for example, to support tests).

stageRunner_show

Generic for printing stageRunner objects.

stageRunner_stage_names

Retrieve a flattened list of canonical stage names for a stageRunner object

stageRunner_transform

Transform the callable's of the terminal nodes of a stageRunner.

stageRunner stagerunner

Stagerunners are parametrized sequences of linear execution.

stageRunnerNode_around

Wrap a stageRunnerNode callable with another callable.

stageRunnerNode_overlay

Append one stageRunnerNode around another.

stageRunnerNode_run

Execute the callable of a stageRunnerNode.

stageRunnerNode_transform

Transform a stageRunnerNode according to a functional.

is.stageRunnerNode

Stagerunner nodes are environment wrappers around individual stages (i.e. functions) in order to track meta-data (e.g., for caching).

treeSkeleton__.parent_index

Find the index of the current object in the children of its parent.

treeSkeleton__children

Find the children of the current object wrapped in treeSkeletons.

treeSkeleton__find

Find the key with the given index using the names of the lists that parametrize each node's children.

treeSkeleton__first_leaf

Find the first leaf in a tree.

treeSkeleton__initialize

Initialize a treeSkeleton object.

treeSkeleton__last_leaf

Find the last leaf in a tree.

treeSkeleton__parent

Find the parent of the current object wrapped in a treeSkeleton.

treeSkeleton__predecessor

Attempt to find the predecessor of the current node.

treeSkeleton__root

Find the root node of the tree (the only one with no parent).

treeSkeleton__successor

Attempt to find the successor of the current node.

treeSkeleton

This class implements iterators for a tree-based structure without an actual underlying tree.