You'll probably never have to write this functionas it is included in the golem template created onlaunch.
Usage
with_golem_options(app,golem_opts, maintenance_page=golem::maintenance_page, print=FALSE)Arguments
- app
the app object.
- golem_opts
A list of options to be added to the app
- maintenance_page
an html_document or a shiny tag list. Default is golem template.
Whether or not to print the app. Default is to
FALSE, whichshould be what you need 99.99% of the time. In case you need toactively print() the app object, you can set it toTRUE.