Skip to contents

Internally used, package-specific options. All options will prioritize R options() values, and fall back to environment variables if undefined. If neither the option nor the environment variable is set, a default value is used.

Checking Option Values

Option values specific to esOutput2 can be accessed by passing the package name to env.

options::opts(env = "esOutput2")

options::opt(x, default, env = "esOutput2")

Options

ui_lib
UI framework to use. Must be one of sdb for shinydashboard or bslib for bslib. Framework is set as an option, and not provided as an argument for each module, because it only changes at app launch time, and is the same for all modules in any one app. Ideally, it would be read from the shinyApp() call, but that does not seem to easily provide this information.
default:
"sdb"
option:

esOutput2.ui_lib

envvar:

R_ESOUTPUT2_UI_LIB (evaluated if possible, raw string otherwise)

See also

options getOption Sys.setenv Sys.getenv