Learn R Programming

drake (version 4.2.0)

example_drake: Function example_drake

Description

Copy a folder of code files for a drake example to the current working directory. Call example_drake('basic') to generate the code files from the quickstart vignette: vignette('quickstart'). To see the names of all the examples, run examples_drake.

Usage

example_drake(example = drake::examples_drake(), destination = getwd())

Arguments

example

name of the example. To see all the available example names, run examples_drake.

destination

character scalar, file path, where to write the folder containing the code files for the example.

See Also

examples_drake, make

Examples

Run this code
# NOT RUN {
example_drake('basic') # Same as the quickstart vignette
# }

Run the code above in your browser using DataLab