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.

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(), make(), config()

Examples

# NOT RUN {
test_with_dir("Quarantine side effects.", {
load_basic_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)
})
# }