R/dependencies.R
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())
target | name of the target |
---|---|
config |
A list of information that drake takes into account when examining the dependencies of the target.
read_drake_meta()
,
deps()
, make()
,
config()
# 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) }) # }