opts | R Documentation |
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.
opts\$your_option_name()
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. |
An object of class NULL
of length 0.
lgl
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.