Learn R Programming

drake (version 5.0.0)

tracked: List the targets and imports that are reproducibly tracked.

Description

In other words, list all the nodes in your project's dependency network.

Usage

tracked(plan = drake_plan(), targets = drake::possible_targets(plan),
  envir = parent.frame(), jobs = 1, verbose = TRUE)

Arguments

plan

workflow plan data frame, same as for function make().

targets

names of targets to build, same as for function make().

envir

environment to import from, same as for function make().

jobs

number of jobs to accelerate the construction of the dependency graph. A light mclapply-based parallelism is used if your operating system is not Windows.

verbose

logical, whether to print progress messages to the console.

Value

A character vector with the names of reproducibly-tracked targets.

Examples

Run this code
# NOT RUN {
test_with_dir("Quarantine side effects.", {
load_basic_example() # Load the canonical example for drake.
# List all the targets/imports that are reproducibly tracked.
tracked(my_plan)
})
# }

Run the code above in your browser using DataLab