MaestroSchedule {maestro} | R Documentation |
Class for a schedule of pipelines
Class for a schedule of pipelines
PipelineList
object of type MaestroPipelineList
status
deprecation
artifacts
deprecation
new()
Create a MaestroSchedule object
MaestroSchedule$new(Pipelines = NULL)
Pipelines
list of MaestroPipelines
MaestroSchedule
print()
Print the schedule object
MaestroSchedule$print()
run()
Run a MaestroSchedule
MaestroSchedule$run(..., quiet = FALSE, run_all = FALSE, n_show_next = 5)
...
arguments passed to MaestroPipelineList$run
quiet
whether or not to silence console messages
run_all
run all pipelines regardless of the schedule (default is FALSE
) - useful for testing.
n_show_next
show the next n scheduled pipes
invisible
get_schedule()
Get the schedule as a data.frame
MaestroSchedule$get_schedule()
data.frame
get_status()
Get status of the pipelines as a data.frame
MaestroSchedule$get_status()
data.frame
get_artifacts()
Get artifacts (return values) from the pipelines
MaestroSchedule$get_artifacts()
list
clone()
The objects of this class are cloneable with this method.
MaestroSchedule$clone(deep = FALSE)
deep
Whether to make a deep clone.
if (interactive()) {
pipeline_dir <- tempdir()
create_pipeline("my_new_pipeline", pipeline_dir, open = FALSE)
schedule <- build_schedule(pipeline_dir = pipeline_dir)
}