Create an R Shiny app based on a template to help ease development. The R Shiny App utilizes modeules which is very helpful for large scale applications.

CreateApp(
  strDirectory = getwd(),
  strName = "NewApp",
  strDisplayName = "",
  strAuthors = "",
  vModuleIDs = c("Home", "Simulation", "Feedback", "Options"),
  bPackage = TRUE
)

Arguments

strDirectory

The directory where the project should be created. If this parameter is left blank then the current working directory will be used.

strName

The name of the folder where the R Shiny app is created.

strDisplayName

The display name of the app.

strAuthors

List of authors

vModuleIDs

list of module IDs to copy. The function looks in inst/_shared/modules for files named "mod_moduleID*" for each value of vModuleIDs provided; matching files are copied to the new app and initialized as shiny modules in app_ui and app_server. See PREP::add_module() for more detail.

bPackage

Specifies whether the app should be wrapped in a pacakge. Default True