View source: R/drake_example.R
drake_examples | R Documentation |
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.
drake_examples(quiet = TRUE)
quiet |
Logical, passed to |
Names of all the drake examples.
drake_example()
, make()
## Not run:
isolate_example("Quarantine side effects.", {
if (requireNamespace("downloader")) {
drake_examples() # List all the drake examples.
# Sets up the example from load_mtcars_example()
drake_example("mtcars")
# Sets up the SLURM example.
drake_example("slurm")
}
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.