Skip to contents

Resolve options(log_message.verbose). An explicit verbose argument wins. Otherwise the option is used, and the default is TRUE.

Usage

get_verbose(verbose = NULL)

Arguments

verbose

The verbose option. Default is `NULL`, which means to get the verbose option from the global options.

Value

The verbose option.

Examples

get_verbose()
#> [1] TRUE
get_verbose(verbose = FALSE)
#> [1] FALSE
get_verbose(verbose = TRUE)
#> [1] TRUE

options(log_message.verbose = FALSE)
get_verbose()
#> [1] FALSE
get_verbose(verbose = TRUE)
#> [1] TRUE

options(log_message.verbose = TRUE)
get_verbose()
#> [1] TRUE

options(log_message.verbose = NULL)