View source: R/utility_functions.R
clean_targets | R Documentation |
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
.
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 )
to_clean |
A vector of target name strings to be cleaned. Default is
all target names from "CEDAData" to the end of |
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 |
Nothing. This function should be called for its side effect of precision cleaning the drake cache.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.