View source: R/CreateAppStandalone.R
This function creates a standalone Shiny app.
1 2 3 4 5 6 7 | CreateAppStandalone(
strDirectory = getwd(),
strName = "newApp",
strDisplayName = "",
strAuthors = "",
vModuleIDs = c("Home", "Simulation", "Feedback", "Options")
)
|
strDirectory |
The directory where the project folder is created. If this parameter is left blank then the current working directory will be used. |
strName |
The folder where the app saved. |
strDisplayName |
Display name for the app. strName is used by default |
strAuthors |
Author Names. Blank by default |
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.