R/out_of_date.R
out_of_date.Rd
Check if targets are out-of-date vis-a-vis their dependencies
out_of_date(targets, dependencies, packages = NULL)
A character vector of paths to files
A character vector of paths to files which the targets
depend on
A character vector of names of packages which targets
depend on
TRUE
if any of targets
are older than any of dependencies
or if
any of targets
do not exist; FALSE
otherwise
if (FALSE) {
out_of_date("data/processed_data.Rds", "data/raw_data.Rds")
}