Validate a pipeline of targets.
Inspect the pipeline for issues and throw an error or warning if a problem is detected.
tar_validate( callr_function = callr::r, callr_arguments = targets::callr_args_default(callr_function), envir = parent.frame(), script = targets::tar_config_get("script"), store = targets::tar_config_get("store") )
callr_function |
A function from |
callr_arguments |
A list of arguments to |
envir |
An environment, where to run the target R script
(default: The |
script |
Character of length 1, path to the
target script file. Defaults to |
store |
Character of length 1, path to the
|
NULL
except if callr_function = callr::r_bg()
, in which case
a handle to the callr
background process is returned. Either way,
the value is invisibly returned.
Other inspect:
tar_deps_raw()
,
tar_deps()
,
tar_glimpse()
,
tar_manifest()
,
tar_network()
,
tar_outdated()
,
tar_sitrep()
,
tar_visnetwork()
if (identical(Sys.getenv("TAR_EXAMPLES"), "true")) { tar_dir({ # tar_dir() runs code from a temporary directory. tar_script(list(tar_target(x, 1 + 1)), ask = FALSE) tar_validate() }) }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.