Learn R Programming

drake (version 7.13.10)

deps_target: List the dependencies of a target [Stable]

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, ..., character_only = FALSE, config = NULL)

Value

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

Arguments

target

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

...

Arguments to make(), such as plan and targets.

character_only

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

config

Deprecated.

See Also

deps_code(), deps_knitr()

Examples

Run this code
if (FALSE) {
isolate_example("Quarantine side effects.", {
load_mtcars_example() # Get the code with drake_example("mtcars").
deps_target(regression1_small, my_plan)
})
}

Run the code above in your browser using DataLab