outdated {drake} | R Documentation |
List the targets that are out of date.
Description
Outdated targets will be rebuilt in the next
make()
. outdated()
does not show dynamic sub-targets.
Usage
outdated(..., make_imports = TRUE, do_prework = TRUE, config = NULL)
Arguments
... |
Arguments to |
make_imports |
Logical, whether to make the imports first.
Set to |
do_prework |
Whether to do the |
config |
Deprecated (2019-12-21).
A configured workflow from |
Value
Character vector of the names of outdated targets.
See Also
r_outdated()
, drake_config()
, missed()
, drake_plan()
,
make()
Examples
## Not run:
isolate_example("Quarantine side effects.", {
if (suppressWarnings(require("knitr"))) {
load_mtcars_example() # Get the code with drake_example("mtcars").
# Recopute the config list early and often to have the
# most current information. Do not modify the config list by hand.
outdated(my_plan) # Which targets are out of date?
make(my_plan) # Run the projects, build the targets.
# Now, everything should be up to date (no targets listed).
outdated(my_plan)
}
})
## End(Not run)
[Package drake version 7.13.10 Index]