get_cleanr_options {cleanr} | R Documentation |
Get options for cleanr
Description
A convenience function for getOption
.
Usage
get_cleanr_options(..., remove_names = FALSE, flatten_list = TRUE)
gco(..., remove_names = FALSE, flatten_list = TRUE)
Arguments
... |
See |
remove_names |
[boolean(1)] |
flatten_list |
[boolean(1)] |
Value
a (possibly named) list or a vector.
Note
gco
is just an alias for get_cleanr_options
.
See Also
Other option wrappers:
set_cleanr_options()
Other option wrappers:
set_cleanr_options()
Examples
cleanr::get_cleanr_options("max_lines")
cleanr::get_cleanr_options("max_lines", remove_names = TRUE)
cleanr::get_cleanr_options("max_lines", flatten_list = TRUE)
cleanr::get_cleanr_options("max_lines", flatten_list = TRUE,
remove_names = TRUE)
cleanr::get_cleanr_options(flatten_list = TRUE, remove_names = TRUE)
cleanr::get_cleanr_options(c("max_lines", "max_lines_of_code"))
[Package cleanr version 1.4.0 Index]