out_of_date {makepipe} | R Documentation |
Check if targets are out-of-date vis-a-vis their dependencies
Description
Check if targets are out-of-date vis-a-vis their dependencies
Usage
out_of_date(targets, dependencies, packages = NULL)
Arguments
targets |
A character vector of paths to files |
dependencies |
A character vector of paths to files which the |
packages |
A character vector of names of packages which |
Value
TRUE
if any of targets
are older than any of dependencies
or if
any of targets
do not exist; FALSE
otherwise
Examples
## Not run:
out_of_date("data/processed_data.Rds", "data/raw_data.Rds")
## End(Not run)
[Package makepipe version 0.2.1 Index]