tar_callr_inner_try {targets} | R Documentation |
Invoke a targets
task from inside a callr
function
(without error handling).
Description
Not a user-side function. Do not invoke directly. Exported for internal purposes only.
Usage
tar_callr_inner_try(
targets_function,
targets_arguments,
options,
envir = NULL,
parent,
script,
store,
fun,
pid_parent
)
Arguments
targets_function |
A function from |
targets_arguments |
Named list of arguments of targets_function. |
options |
Names of global options to temporarily set
in the |
envir |
Name of the environment to run in. If |
parent |
Parent environment of the call to
|
script |
Character of length 1, path to the
target script file. Defaults to |
store |
Character of length 1, path to the
|
fun |
Character of length 1, name of the |
pid_parent |
Integer of length 1, process ID of the calling process,
e.g. the one that called |
Value
The output of a call to a targets
function that uses
callr
for reproducibility.
Examples
# See the examples of tar_make().