Learn R Programming

icesTAF (version 1.3-2)

make: Run TAF Script If Needed

Description

Run a TAF script if underlying data files have changed, otherwise do nothing.

Usage

make(recipe, prereq, target, debug = FALSE)

Arguments

recipe

TAF script filename.

prereq

one or more underlying data files, required by the TAF script.

target

one output file, produced by the TAF script.

debug

whether to show a diagnostic table of files and time last modified.

Value

Invisible TRUE or FALSE, indicating whether the script was run.

See Also

sourceTAF runs a TAF script.

sourceAtoZ runs all TAF scripts in a directory.

icesTAF-package gives an overview of the package.

Examples

Run this code
# NOT RUN {
make("model.R", "input/input.txt", "model/results.txt")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab