Checks your workspace/environment and file system.
missed(config = drake::read_drake_config())
internal runtime parameter list of
make(...)
,
produced by both drake_config()
and make()
.
Character vector of names of missing objects and files.
# 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