Learn R Programming

drake (version 5.0.0)

built: List all the built targets (non-imports) in the cache.

Description

Targets are listed in the workflow plan data frame (see drake_plan().

Usage

built(path = getwd(), search = TRUE, cache = drake::get_cache(path = path,
  search = search, verbose = verbose), verbose = TRUE, jobs = 1)

Arguments

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

jobs

number of jobs/workers for parallel processing

Value

Character vector naming the built targets in the cache.

See Also

cached, loadd, link{imported}

Examples

Run this code
# NOT RUN {
test_with_dir("Quarantine side effects.", {
load_basic_example() # Load drake's canonical example.
make(my_plan) # Run the project, build all the targets.
built() # List all the cached targets (built objects and files).
# For file targets, only the fingerprints/hashes are stored.
})
# }

Run the code above in your browser using DataLab