Create a microsimulation app's folder
create_microsim.Rd
Create a directory with key app's files and `app.R` needed for development and deployment of the microsimulation Shiny app Copies a template app folder structure to the location/name specified. Creates the RStudio project to simplify the workflow.
Usage
create_microsim(
path,
open = TRUE,
app_name = basename(path),
newSession = FALSE
)
Arguments
- path
full path to the place where the app's folder must be along with the not yet existing app folder name. The folder will be created automatically.
- open
logical, if the app's folder should be opened as an RStudio project.
- app_name
optional. name of folder where the app should be.
- newSession
Boolean (default FALSE); should the project be opened in a new session, or #' should the current RStudio session switch to that project?