drake (version 6.2.1)

make_imports: Just make the imports.

Description

make() is the central, most important function of the drake package. make() runs all the steps of your workflow in the correct order, skipping any work that is already up to date. During make(), there are two kinds of processing steps: "imports", which are pre-existing functions and input data files that are loaded or checked, and targets, which are serious reproducibly-tracked data analysis steps that have commands in your workflow plan data frame. The make_targets() function just makes the targets (skipping any targets that are already up to date) and make_imports() just makes the imports. Most users should just use make() instead of either make_imports() or make_targets(). See https://github.com/ropensci/drake/blob/master/README.md#documentation for an overview of the documentation.

Usage

make_imports(config = drake::read_drake_config())

Arguments

config

a configuration list returned by drake_config()

Value

The master internal configuration list used by make().

See Also

make(), drake_config(), make_targets()

Examples

Run this code
# NOT RUN {
test_with_dir("Quarantine side effects.", {
load_mtcars_example() # Get the code with drake_example("mtcars").
# Generate the master internal configuration list.
con <- drake_config(my_plan)
# Just cache the imports, do not build any targets.
make_imports(config = con)
# Just make the targets
make_targets(config = con)
})
# }

Run the code above in your browser using DataCamp Workspace