| PipelineResult | R Documentation |
Pipeline result object
Pipeline result object
TRUE if the target is finished, or FALSE if
timeout is reached
progressorprogress bar object, usually generated from progress2
promisea promise instance that monitors
the pipeline progress
verbosewhether to print warning messages
namesnames of the pipeline to build
async_callbackfunction callback to call in each check loop;
only used when the pipeline is running in async=TRUE mode
check_intervalused when async=TRUE in
pipeline_run, interval in seconds to check the progress
variablestarget variables of the pipeline
variable_descriptionsreadable descriptions of the target variables
validlogical true or false whether the result instance hasn't been invalidated
statusresult status, possible status are 'initialize',
'running', 'finished', 'canceled',
and 'errored'. Note that 'finished' only means the pipeline
process has been finished.
process(read-only) process object if the pipeline is running in
'async' mode, or NULL; see r_bg.
validate()check if result is valid, raises errors when invalidated
PipelineResult$validate()
invalidate()invalidate the pipeline result
PipelineResult$invalidate()
get_progress()get pipeline progress
PipelineResult$get_progress()
new()constructor (internal)
PipelineResult$new(path = character(0L), verbose = FALSE)
pathpipeline path
verbosewhether to print warnings
run()run pipeline (internal)
PipelineResult$run( expr, env = parent.frame(), quoted = FALSE, async = FALSE, process = NULL )
exprexpression to evaluate
envenvironment of expr
quotedwhether expr has been quoted
asyncwhether the process runs in other sessions
processthe process object inherits process,
will be inferred from expr if process=NULL,
and will raise errors if cannot be found
await()wait until some targets get finished
PipelineResult$await(names = NULL, timeout = Inf)
namestarget names to wait, default is NULL, i.e. to
wait for all targets that have been scheduled
timeoutmaximum waiting time in seconds
print()print method
PipelineResult$print()
get_values()get results
PipelineResult$get_values(names = NULL, ...)
namesthe target names to read
...passed to codelinkpipeline_read
clone()The objects of this class are cloneable with this method.
PipelineResult$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.