drake (version 6.2.1)

deps_target: List the dependencies of one or more targets

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 = read_drake_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

Names of dependencies listed by type (object, input file, etc).

See Also

deps_code()

Examples

Run this code
# NOT RUN {
test_with_dir("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 DataLab