load_main_example | R Documentation |
The main example lives at
https://github.com/wlandau/drake-examples/tree/main/main
.
Use drake_example("main")
to download its code.
This function also writes/overwrites
the files report.Rmd
and raw_data.xlsx
.
load_main_example(
envir = parent.frame(),
report_file = "report.Rmd",
overwrite = FALSE,
force = FALSE
)
envir |
The environment to load the example into.
Defaults to your workspace.
For an insulated workspace,
set |
report_file |
Where to write the report file |
overwrite |
Logical, whether to overwrite an
existing file |
force |
Deprecated. |
Deprecated 2018-12-31.
A drake_config()
configuration list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.