makepipe 0.1.0
make_*()
-
Made
dependenciesargument tomake_*()optional (#25). -
Added a
forceargument tomake_*()(#26). This allows the user to override
the default conditional execution logic to ensure that a given segment of the
pipeline is run no matter what.
Segment
- Implemented
Segmentclass to serve as the basic building block for the
Pipeline(#28). This clarifies the link between the fundamentalmake_*()
functions and thePipelineobject. In particular, eachmake_*()call
constructs aSegmentwhich is appended to thePipeline.
- The
Segmentclass has anexecute()method, which replicates the execution
behaviour of themake_*()functions. HenceSegment$execute()can be run to
rebuild the targets associated with a given segment without adding a new
segment to thePipelineas would be done if we calledmake_*()again. - The
Segmentholds all execution metadata (e.g. execution result, execution
time, etc.). This is updated via theSegment$update_result()method whenever
Segment$execute()is called.
-
Added a
build()method to thePipelineclass, which sorts theSegments
topologically and then callsexecute()on each in turn. -
Added a
clean()method to thePipelineclass, which deletes thetargets
associated with eachSegment. -
Removed the now redundant
makepipe_resultS3 class. All of the information
that was held by themakepipe_resultis now held by theSegment.
Bug fixes
-
Fixed a minor bug in
Pipeline$print()which was causing user-supplied
annotations to be overwritten (#23). -
Fixed a minor bug in
make_register()(#22). Previously, an error would be thrown
when usingmake_register()outside of amakepipesegment if the user set
quiet=TRUE. This is no longer the case.
Documentation
- Added a getting started vignette (#19).