new_page | R Documentation |
Module template for golem
new_page(name, path, export, ...)
name |
The name of the module. |
path |
The path to the R script where the module will be written.
Note that this path will not be set by the user but via
|
export |
Should the module be exported? Default is |
... |
Arguments to be passed to the |
Used for side effect
if (requireNamespace("golem") & interactive()) {
golem::add_module(name = "home", module_template = brochure::new_page)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.