drake (version 7.3.0)

deps_target: List the dependencies of a target

Description

Intended for debugging and checking your project. The dependency structure of the components of your analysis decides which targets are built and when.

Usage

deps_target(target, config, character_only = FALSE)

Arguments

target

A symbol denoting a target name, or if character_only is TRUE, a character scalar denoting a target name.

config

An output list from drake_config().

character_only

Logical, whether to assume target is a character string rather than a symbol.

Value

A data frame with the dependencies listed by type (globals, files, etc).

See Also

deps_code(), deps_knitr()

Examples

Run this code
# NOT RUN {
isolate_example("Quarantine side effects.", {
load_mtcars_example() # Get the code with drake_example("mtcars").
config <- drake_config(my_plan)
deps_target("regression1_small", config = config)
})
# }

Run the code above in your browser using DataCamp Workspace