Learn R Programming

drake (version 7.5.2)

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

Description

Checks your workspace/environment and file system.

Usage

missed(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 {
isolate_example("Quarantine side effects.", {
if (suppressWarnings(require("knitr"))) {
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