Learn R Programming

drake (version 4.2.0)

check: Function check

Description

Check a workflow plan, etc. for obvious errors such as circular dependencies and missing input files.

Usage

check(plan, targets = drake::possible_targets(plan), envir = parent.frame(),
  cache = NULL)

Arguments

plan

workflow plan data frame, possibly from plan().

targets

character vector of targets to make

envir

environment containing user-defined functions

cache

optional drake cache. See new_cache()

Value

invisibly return plan

See Also

link{plan}, make

Examples

Run this code
# NOT RUN {
load_basic_example()
check(my_plan)
unlink('report.Rmd')
check(my_plan)
# }

Run the code above in your browser using DataLab