Produce a data frame of information about your targets.
Along with tar_visnetwork()
and tar_glimpse()
,
tar_manifest()
helps check that you constructed your pipeline correctly.
tar_manifest( names = NULL, fields = c("name", "command", "pattern"), callr_function = callr::r, callr_arguments = targets::callr_args_default(callr_function), envir = parent.frame(), script = targets::tar_config_get("script") )
names |
Names of the targets to show. Set to |
fields |
Names of the fields, or columns, to show. Set to
|
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 |
A data frame of information about the targets in the pipeline. Rows appear in topological order (the order they will run without any influence from parallel computing or priorities).
Other inspect:
tar_deps_raw()
,
tar_deps()
,
tar_glimpse()
,
tar_network()
,
tar_outdated()
,
tar_sitrep()
,
tar_validate()
,
tar_visnetwork()
if (identical(Sys.getenv("TAR_EXAMPLES"), "true")) { tar_dir({ # tar_dir() runs code from a temporary directory. tar_script({ tar_option_set() list( tar_target(y1, 1 + 1), tar_target(y2, 1 + 1), tar_target(z, y1 + y2), tar_target(m, z, pattern = map(z)), tar_target(c, z, pattern = cross(z)) ) }, ask = FALSE) tar_manifest() tar_manifest(fields = c("name", "command")) tar_manifest(fields = "command") tar_manifest(fields = starts_with("cue")) }) }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.