Check option value.
opts.Rd
This is a list that will populate dynamically with the options in the project local .Rprofile allowing them to be read by calling the method. This population of methods happens at the beginning of a session. It can be accessed with UU::opts
. If you wish to check option values in non-interactive sessions, see the write_opts function which will write a file with an opts
object based on the current state of .Rprofile that can be used during non-interactive (deployed apps) sessions.
Arguments
- default
if the specified option is not set in the options list, this value is returned. This facilitates retrieving an option and checking whether it is set and setting it separately if not.
See also
write_opts Code is dynamically generated when package is loaded. These will not auto generate properly in a deployed shiny app. See write_opts for a non-interactive alternative.
Other options:
if_debug()
,
toggle
,
write_opts()