Learn R Programming

drake (version 5.0.0)

missed: Report any import objects required by your drake_plan plan but missing from your workspace.

Description

Checks your workspace/environment and file system.

Usage

missed(config)

Arguments

config

internal runtime parameter list of make(...), produced by both drake_config() and make().

Value

Character vector of names of missing objects and files.

See Also

outdated

Examples

Run this code
# NOT RUN {
test_with_dir("Quarantine side effects.", {
config <- load_basic_example() # Get the code with drake_example("basic").
missed(config) # All the imported files and objects should be present.
rm(reg1) # Remove an import dependency from you workspace.
missed(config) # Should report that reg1 is missing.
})
# }

Run the code above in your browser using DataLab