Learn R Programming

drake (version 7.1.0)

imported: Deprecated. List all the imports in the drake cache.

Description

Deprecated on 2019-01-08.

Usage

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

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. Ignored if a cache is supplied.

search

Logical. If TRUE, search parent directories to find the nearest drake cache. Otherwise, look in the current working directory only. Ignored if a cache is supplied.

cache

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

verbose

Integer, control printing to the console/terminal.

  • 0: print nothing.

  • 1: print targets, retries, and failures.

  • 2: also show a spinner when preprocessing tasks are underway.

jobs

Number of jobs/workers for parallel processing.

Value

Character vector naming the imports in the cache.

Details

An import is a non-target object processed by make(). Targets in the workflow plan data frame (see drake_config() may depend on imports.

See Also

cached(), loadd()