R/cache_ui.R
An import is a non-target object processed
by make()
. Targets in the workflow
plan data frame (see drake_config()
may depend on imports.
imported(files_only = FALSE, path = getwd(), search = TRUE, cache = drake::get_cache(path = path, search = search, verbose = verbose), verbose = drake::default_verbose(), jobs = 1)
files_only | logical, whether to show imported files only and ignore imported objects. Since all your functions and all their global variables are imported, the full list of imported objects could get really cumbersome. |
---|---|
path | Root directory of the drake project,
or if |
search | logical. If |
cache | drake cache. See |
verbose | logical or numeric, control printing to the console.
Use
|
jobs | number of jobs/workers for parallel processing |
Character vector naming the imports in the cache.
# NOT RUN { test_with_dir("Quarantine side effects.", { load_basic_example() # Load the canonical example. make(my_plan) # Run the project, build the targets. imported() # List all the imported objects/files in the cache. # For imported files, only the fingerprints/hashes are stored. }) # }