Skip to content

makepipe 0.1.0

Choose a tag to compare

@kinto-b kinto-b released this 23 Nov 10:04

make_*()

  • Made dependencies argument to make_*() optional (#25).

  • Added a force argument to make_*() (#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 Segment class to serve as the basic building block for the
    Pipeline (#28). This clarifies the link between the fundamental make_*()
    functions and the Pipeline object. In particular, each make_*() call
    constructs a Segment which is appended to the Pipeline.
  • The Segment class has an execute() method, which replicates the execution
    behaviour of the make_*() functions. Hence Segment$execute() can be run to
    rebuild the targets associated with a given segment without adding a new
    segment to the Pipeline as would be done if we called make_*() again.
  • The Segment holds all execution metadata (e.g. execution result, execution
    time, etc.). This is updated via the Segment$update_result() method whenever
    Segment$execute() is called.
  • Added a build() method to the Pipeline class, which sorts the Segments
    topologically and then calls execute() on each in turn.

  • Added a clean() method to the Pipeline class, which deletes the targets
    associated with each Segment.

  • Removed the now redundant makepipe_result S3 class. All of the information
    that was held by the makepipe_result is now held by the Segment.

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 using make_register() outside of a makepipe segment if the user set
    quiet=TRUE. This is no longer the case.

Documentation

  • Added a getting started vignette (#19).