make.taf {TAF} | R Documentation |
Run TAF Script If Needed
Description
Run a TAF script if the target directory is either older than the script, or older than the directory of the previous TAF step.
Usage
make.taf(script, ...)
Arguments
script |
TAF script filename. |
... |
passed to |
Value
TRUE
or FALSE
, indicating whether the script was run.
Note
Any underlying scripts are automatically included if they share the same
filename prefix, followed by an underscore. For example, when determining
whether a script data.R
should be run, this function checks whether
data_foo.R
and data_bar.R
have been recently modified.
See Also
source
runs any R script, source.taf
is more
convenient for running a TAF script, and source.all
runs all
TAF scripts.
make
, make.taf
, and make.all
are
similar to the source
functions, except they avoid repeating tasks
that have already been run.
TAF-package
gives an overview of the package.
Examples
## Not run:
make.taf("model.R")
## End(Not run)