Last chance! 50% off unlimited learning
Sale ends in
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.
make_imports(config = drake::read_drake_config())
a configuration list returned by drake_config()
The master internal configuration list
used by make()
.
# 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 DataLab