Learn R Programming

drake (version 5.2.1)

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 = drake::read_drake_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_code(), make(), config()

Examples

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

Run the code above in your browser using DataLab