drake_triggers {drake} | R Documentation |
drake_triggers
helper
Description
Triggers of a target.
Usage
drake_triggers(
command = TRUE,
depend = TRUE,
file = TRUE,
seed = TRUE,
format = TRUE,
condition = FALSE,
change = NULL,
mode = c("whitelist", "blacklist", "condition")
)
Arguments
command |
Logical, whether to rebuild the target if the
|
depend |
Logical, whether to rebuild if a non-file dependency changes. |
file |
Logical, whether to rebuild the target
if a |
seed |
Logical, whether to rebuild the target
if the seed changes. Only makes a difference if you set
a custom |
format |
Logical, whether to rebuild the target if the
choice of specialized data format changes: for example,
if you use |
condition |
R code (expression or language object)
that returns a logical. The target will rebuild
if the code evaluates to |
change |
R code (expression or language object) that returns any value. The target will rebuild if that value is different from last time or not already cached. |
mode |
A character scalar equal to
|