PipelineResult | R Documentation |
Pipeline result object
Pipeline result object
TRUE
if the target is finished, or FALSE
if
timeout is reached
progressor
progress bar object, usually generated from progress2
promise
a promise
instance that monitors
the pipeline progress
verbose
whether to print warning messages
names
names of the pipeline to build
async_callback
function callback to call in each check loop;
only used when the pipeline is running in async=TRUE
mode
check_interval
used when async=TRUE
in
pipeline_run
, interval in seconds to check the progress
variables
target variables of the pipeline
variable_descriptions
readable descriptions of the target variables
valid
logical true or false whether the result instance hasn't been invalidated
status
result 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)
path
pipeline path
verbose
whether to print warnings
run()
run pipeline (internal)
PipelineResult$run( expr, env = parent.frame(), quoted = FALSE, async = FALSE, process = NULL )
expr
expression to evaluate
env
environment of expr
quoted
whether expr
has been quoted
async
whether the process runs in other sessions
process
the 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)
names
target names to wait, default is NULL
, i.e. to
wait for all targets that have been scheduled
timeout
maximum waiting time in seconds
print()
print method
PipelineResult$print()
get_values()
get results
PipelineResult$get_values(names = NULL, ...)
names
the target names to read
...
passed to codelinkpipeline_read
clone()
The objects of this class are cloneable with this method.
PipelineResult$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.