Learn R Programming

drake (version 4.2.0)

missed: Function missed

Description

Report any import objects required by your workflow plan but missing from your workspace. IMPORTANT: you must be in the root directory of your project.

Usage

missed(plan, targets = drake::possible_targets(plan),
  envir = parent.frame(), verbose = TRUE, jobs = 1,
  parallelism = drake::default_parallelism(), packages = (.packages()),
  prework = character(0), font_size = 20, config = NULL)

Arguments

plan

workflow plan data frame, same as for function make().

targets

names of targets to bulid, same as for function make().

envir

environment to import from, same as for function make().

verbose

logical, whether to output messages to the console.

jobs

The outdated() function is called internally, and it needs to import objects and examine your input files to see what has been updated. This could take some time, and parallel computing may be needed to speed up the process. The jobs argument is number of parallel jobs to use for faster computation.

parallelism

Choice of parallel backend to speed up the computation. See ?parallelism_choices for details. The Makefile option is not available here. Drake will try to pick the best option for your system by default.

packages

same as for make

prework

same as for make

font_size

numeric, font size of the node labels in the graph

config

option internal runtime parameter list of make(...), produced with config(). Computing this in advance could save time if you plan multiple calls to missed().

See Also

outdated

Examples

Run this code
# NOT RUN {
load_basic_example()
missed(my_plan)
rm(reg1)
missed(my_plan)
# }

Run the code above in your browser using DataLab