CLI option to create a new Shiny Spring Project based on predefined templates in shinyspring The New Project wizard in RStudio also call this method
1 2 3 4 5 6 7 | create_new_project(
dashboard_template = "bs4_dash",
app_type = "standard",
config_file = "config.yml",
startup_file = "on_startup.R",
targets = FALSE
)
|
dashboard_template |
(optional) defaults to "bs4_dash". Options are shiny_dashboard_plus , argon_dash |
app_type |
(optional) default to "basic". Options are |
config_file |
(optional) default to config.yml |
startup_file |
(optional) the on_startup file name |
targets |
optionally create _targets.R |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.