makeTAF: Run TAF Script If Needed

Description Usage Arguments Value Note See Also Examples

View source: R/makeTAF.R

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

1
makeTAF(script, ...)

Arguments

script

TAF script filename.

...

passed to make and sourceTAF.

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, sourceTAF is more convenient for running a TAF script, and sourceAll runs all TAF scripts.

make, makeTAF, and makeAll 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

1
2
3
4
## Not run: 
makeTAF("model.R")

## End(Not run)

TAF documentation built on April 7, 2021, 5:06 p.m.