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

create_new_project(
  dashboard_template = "bs4_dash",
  app_type = "standard",
  config_file = "config.yml",
  startup_file = "on_startup.R",
  targets = FALSE
)

Arguments

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