Skip to contents

Populates session data for testing or to load a specific analysis.

Usage

FM_mk_app_preload(session)

Arguments

session

Shiny session variable (in app) or a list (outside of app)

Value

list with the following elements

  • isgood: Boolean indicating the exit status of the function.

  • msgs: Messages to be passed back to the user.

  • yaml_list: Lists with preload components.

  • session: Returning the session variable to be used in scripting (not in app).

Examples

sources=system.file(package="formods", "preload", "UD.yaml")
sess_res = FM_app_preload(session=list(), sources=sources)
#>  File does not exist: 
mkp_res = FM_mk_app_preload(sess_res$session)