View source: R/tar_git_status_targets.R
tar_git_status_targets | R Documentation |
Show which targets are outdated.
tar_git_status_targets(
script = targets::tar_config_get("script"),
store = targets::tar_config_get("store"),
reporter = targets::tar_config_get("reporter_outdated"),
envir = parent.frame(),
callr_function = callr::r,
callr_arguments = NULL
)
script |
Character of length 1, path to the
target script file. Defaults to |
store |
Character of length 1, path to the
|
reporter |
Character of length 1, name of the reporter to user. Controls how messages are printed as targets are checked. Choices:
|
envir |
An environment, where to run the target R script
(default: The |
callr_function |
A function from |
callr_arguments |
A list of arguments to |
This function has prettier output than targets::tar_outdated()
,
and it mainly serves tar_git_status()
.
A tibble
with the names of outdated targets.
Other git:
tar_git_checkout()
,
tar_git_init()
,
tar_git_log()
,
tar_git_ok()
,
tar_git_snapshot()
,
tar_git_status_code()
,
tar_git_status_data()
,
tar_git_status()
targets::tar_dir({ # Containing code does not modify the user's file space.
targets::tar_script(tar_target(data, 1))
targets::tar_make()
list.files("_targets", all.files = TRUE)
tar_git_status_targets()
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.