Run the Shiny Application
Usage
run_app(
onStart = NULL,
options = list(),
enableBookmarking = NULL,
uiPattern = "/",
data_folder = NULL,
credentials_pwd = Sys.getenv("DB_SECRET"),
...
)Arguments
- onStart
A function that will be called before the app is actually run. This is only needed for
shinyAppObj, since in theshinyAppDircase, aglobal.Rfile can be used for this purpose.- options
Named options that should be passed to the
runAppcall (these can be any of the following: "port", "launch.browser", "host", "quiet", "display.mode" and "test.mode"). You can also specifywidthandheightparameters which provide a hint to the embedding environment about the ideal height/width for the app.- enableBookmarking
Can be one of
"url","server", or"disable". The default value,NULL, will respect the setting from any previous calls toenableBookmarking(). SeeenableBookmarking()for more information on bookmarking your app.- uiPattern
A regular expression that will be applied to each
GETrequest to determine whether theuishould be used to handle the request. Note that the entire request path must match the regular expression in order for the match to be considered successful.- data_folder
Character string. The folder in which all data resides is usually set in the config.yml file. However, this can be overwritten if a path is set in this argument. If used, any path specified in the config.yml will be ignored. Useful for testing purposes.
- credentials_pwd
Character string with the credentials' database password.
- ...
arguments to pass to golem_opts. See
?golem::get_golem_optionsfor more details.
