- Resolves calling
'structure(NULL, *)'
, since this is deprecated, as NULL cannot have attributes.
- Fixed a small bug when printing runners with missing stage names.
- Added an option
stagerunner.remember
for always switching off intermediate progress, e.g., when running jobs on a machine that never needs replay capability.
- Added some fixes to stagerunner coalescing.
- Corrected printing for stagerunners that have been coalesced.
- Refactored the
stageRunner
,stageRunnerNode
, andtreeSkeleton
reference classes to use R6 classes, in preparation for public release of the package.
- Added an
is_pre_stagerunner
helper function that returns TRUE or FALSE according as an object can be transformed into a stageRunner.
- Integration with the objectdiff package.
This means passing a
tracked_environment
object as thecontext
to astageRunner
will result in much smarter memory management of environment changes as you run its stages (objectdiff uses clever patching functions to record only changes to an environment as it is being modified; without this logic, a stageRunner has to copy an environment in full on each executed stage, which is especially expensive if you are manipulating large data sets).
- Stagerunners now contain an
$around
method that allows for wrapping terminal stages with some behavior, akin to theyield
keyword in Ruby blocks. This can be useful for interim debugging, visualization, etc. For more information see?stageRunner__around
.