Learn R Programming

drake (version 5.2.1)

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 = read_drake_plan(), targets = drake::possible_targets(plan),
  envir = parent.frame(), jobs = 1, verbose = drake::default_verbose())

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/workers for parallel processing

verbose

logical or numeric, control printing to the console. Use pkgconfig to set the default value of verbose for your R session: for example, pkgconfig::set_config("drake::verbose" = 2).

0 or FALSE:

print nothing.

1 or TRUE:

print only targets to build.

2:

in addition, print checks and cache info.

3:

in addition, print any potentially missing items.

4:

in addition, print imports. Full verbosity.

Value

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

Examples

Run this code
# NOT RUN {
test_with_dir("Quarantine side effects.", {
load_mtcars_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