Run the Shiny Application
run_app.Rd
This function serves as an entry point for the applications created by the user.
Arguments
- data
the list of datasets to be used in the Shiny application. This data parameter can be defined as:
a named list of lists in which each of the lists will be a list of data.frames. Each of the lists of data.frames contains a domain, a structure similar to that returned in a
dv.loader::load_data
call.a named list of functions in which each of the functions will return a list of data.frames.
- module_list
a list of the modules to be included in the Shiny application
- title
title to be displayed in the browser tab
- filter_data
a string indicating which of the loaded datasets is used for filtering.
- filter_key
a string specifying a common field across all datasets that will be used to expand the filtering. Default = "USUBJID" or NULL if no data = NULL
- startup_msg
a message to be displayed at the start of the application. It can be either NULL or a modal message defined with shiny::modalDialog.
- azure_options
A named vector/list containing the options for the Azure Authentication: Required fields: redirect, resource, tenant, app, version, password. See AzureAuth::build_authorization_uri for these. If NULL then application will not be secure. Note that azure_options is only required when the applications handles the authentication by itself. It is not required in other environments such as POSIT Connect or other environments where the authentication is handled externally.
- reload_period
Either a lubridate object to specify a duration or a positive numeric value which is then interpreted as a lubridate duration object in days. By default NULL
- 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.- .launch
by default it should always be TRUE. It should only be false for debugging and testing. When TRUE it will return the app. When FALSE it will return the options with which the app will be launched.