Set or get options for my package
Arguments
- ...
Option names to retrieve option values or [key]=[value]
pairs to set options.
Supported options
The following options are supported
language
The default language
country
The default country setting
theme
The default ggplot theme
mode
The default ggplot mode
opacity
The default opacity
Examples
# Retrieve default options
gtl_options("language")
#> [1] "en"
gtl_options("plot_standard_width")
#> [1] 63.5
# Change a setting and retrieve it
gtl_options(plot_standard_width = 25)
gtl_options("plot_standard_width")
#> [1] 25