drake (version 7.3.0)

drake_examples: List the names of all the drake examples.

Description

You can find the code files of the examples at https://github.com/wlandau/drake-examples. The drake_examples() function downloads the list of examples from https://wlandau.github.io/drake-examples/examples.md, so you need an internet connection.

Usage

drake_examples(quiet = TRUE)

Arguments

quiet

Logical, passed to downloader::download() and thus utils::download.file(). Whether to download quietly or print progress.

Value

Names of all the drake examples.

See Also

drake_example(), make()

Examples

Run this code
# NOT RUN {
isolate_example("Quarantine side effects.", {
if (requireNamespace("downloader")) {
drake_examples() # List all the drake examples.
# Sets up the example from
# https://ropenscilabs.github.io/drake-manual/mtcars.html
drake_example("mtcars")
# Sets up the SLURM example.
drake_example("slurm")
}
})
# }

Run the code above in your browser using DataCamp Workspace