Cleans drake targets
clean_targets.Rd
It is often helpful to clean only a few targets.
This function allows specified targets to be cleaned.
By default, this function cleans all targets after IEAData
,
according to the list PFUWorkflow::target_names
.
Usage
clean_targets(
to_clean = PFUWorkflow::target_names[seq(which(PFUWorkflow::target_names ==
first_target), which(PFUWorkflow::target_names == last_target))],
first_target = "CEDAData",
last_target = PFUWorkflow::target_names[[length(PFUWorkflow::target_names)]],
path = NULL
)
Arguments
- to_clean
A vector of target name strings to be cleaned. Default is all target names from "CEDAData" to the end of
PFUWorkflow::target_names
.- first_target
The string name of the first target to clean. Default is "CEDAData".
- last_target
The string name of the last target to clean. Default is the last target in the workflow.
- path
The path to the drake cache. Default is
NULL
, meaning that drake should look in the ".drake" folder for cache information.