drake (version 6.2.1)

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 = drake::read_drake_config())

Arguments

config

internal runtime parameter list 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.", {
load_mtcars_example() # Get the code with drake_example("mtcars").
config <- drake_config(my_plan)
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