Learn R Programming

drake (version 4.4.0)

imported: Function imported

Description

List all the imported objects in the drake cache

Usage

imported(files_only = FALSE, path = getwd(), search = TRUE,
  cache = drake::get_cache(path = path, search = search, verbose = verbose),
  verbose = TRUE)

Arguments

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 is TRUE, either the project root or a subdirectory of the project.

search

logical. If TRUE, search parent directories to find the nearest drake cache. Otherwise, look in the current working directory only.

cache

drake cache. See new_cache(). If supplied, path and search are ignored.

verbose

whether to print console messages

Value

character vector naming the imported objects in the cache

See Also

cached, loadd, built

Examples

Run this code
# NOT RUN {
load_basic_example()
make(my_plan)
imported()
# }

Run the code above in your browser using DataLab