Learn R Programming

drake (version 5.0.0)

read_drake_config: Read the cached drake_config() list from the last make().

Description

See drake_config() for more information about drake's internal runtime configuration parameter list.

Usage

read_drake_config(path = getwd(), search = TRUE, cache = NULL,
  verbose = 1, jobs = 1, envir = parent.frame())

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

optional drake cache. See codenew_cache(). If cache is supplied, the path and search arguments are ignored.

verbose

whether to print console messages

jobs

number of jobs for light parallelism. Supports 1 job only on Windows.

envir

Optional environment to fill in if config$envir was not cached. Defaults to your workspace.

Value

The cached master internal configuration list of the last make().

See Also

make

Examples

Run this code
# NOT RUN {
test_with_dir("Quarantine side effects.", {
load_basic_example() # Get the code with drake_example("basic").
make(my_plan) # Run the project, build the targets.
# Retrieve the master internal configuration list from the cache.
read_drake_config()
})
# }

Run the code above in your browser using DataLab