Learn R Programming

drake (version 4.4.0)

check: Function check

Description

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

Usage

check(plan = workplan(), targets = drake::possible_targets(plan),
  envir = parent.frame(), cache = drake::get_cache(verbose = verbose),
  verbose = TRUE)

Arguments

plan

workflow plan data frame, possibly from workplan().

targets

character vector of targets to make

envir

environment containing user-defined functions

cache

optional drake cache. See new_cache()

verbose

logical, whether to log progress to the console.

Value

invisibly return plan

See Also

ink{workplan}, 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