Class for a list of MaestroPipelines A MaestroPipelineList is created when there are multiple maestro pipelines in a single script
Class for a list of MaestroPipelines A MaestroPipelineList is created when there are multiple maestro pipelines in a single script
MaestroPipelines
list of pipelines
n_pipelines
number of pipelines in the list
new()
Create a MaestroPipelineList object
MaestroPipelineList$new(MaestroPipelines = list(), network = NULL)
MaestroPipelines
list of MaestroPipelines
network
initialize a network
MaestroPipelineList
add_pipelines()
Add pipelines to the list
MaestroPipelineList$add_pipelines(MaestroPipelines = NULL)
MaestroPipelines
list of MaestroPipelines
invisible
get_pipe_names()
Get names of the pipelines in the list
MaestroPipelineList$get_pipe_names()
character
get_pipe_by_name()
Get a MaestroPipeline by its name
MaestroPipelineList$get_pipe_by_name(pipe_name)
pipe_name
name of the pipeline
MaestroPipeline
get_schedule()
Get the schedule as a data.frame
MaestroPipelineList$get_schedule()
data.frame
get_timely_pipelines()
Get a new MaestroPipelineList containing only those pipelines scheduled to run
MaestroPipelineList$get_timely_pipelines(...)
...
arguments passed to self$check_timeliness
MaestroPipelineList
get_primary_pipes()
Get pipelines that are primary (i.e., don't have an inputting pipeline)
MaestroPipelineList$get_primary_pipes()
list of MaestroPipelines
check_timeliness()
Check whether pipelines in the list are scheduled to run based on orchestrator frequency and current time
MaestroPipelineList$check_timeliness(...)
...
arguments passed to self$check_timeliness
logical
get_status()
Get status of the pipelines as a data.frame
MaestroPipelineList$get_status()
data.frame
get_errors()
Get list of errors from the pipelines
MaestroPipelineList$get_errors()
list
get_warnings()
Get list of warnings from the pipelines
MaestroPipelineList$get_warnings()
list
get_messages()
Get list of messages from the pipelines
MaestroPipelineList$get_messages()
list
get_artifacts()
Get artifacts (return values) from the pipelines
MaestroPipelineList$get_artifacts()
list
get_network()
Get the network structure as a edge list
MaestroPipelineList$get_network()
data.frame
validate_network()
Validates whether all inputs and outputs exist and that the network is a valid DAG
MaestroPipelineList$validate_network()
warning or invisible
run()
Runs all the pipelines in the list
MaestroPipelineList$run(..., cores = 1L)
...
arguments passed to MaestroPipeline$run
cores
if using multicore number of cores to run in (uses furrr
)
invisible
clone()
The objects of this class are cloneable with this method.
MaestroPipelineList$clone(deep = FALSE)
deep
Whether to make a deep clone.