Learn R Programming

drake (version 5.0.0)

dependency_profile: Return the detailed dependency profile of the target.

Description

Useful for debugging. For up to date targets, like elements of the returned list should agree: for example, cached_dependency_hash and current_dependency_hash.

Usage

dependency_profile(target, config)

Arguments

target

name of the target

config

configuration list output by config or make

Value

A list of information that drake takes into account when examining the dependencies of the target.

See Also

read_drake_meta, deps, make, config

Examples

Run this code
# NOT RUN {
test_with_dir("Quarantine side effects.", {
load_basic_example() # Load drake's canonical exmaple.
con <- make(my_plan) # Run the project, build the targets.
# Get some example dependency profiles of targets.
dependency_profile("small", config = con)
dependency_profile("'report.md'", config = con)
})
# }

Run the code above in your browser using DataLab