Test the current reporting level. isVerbose() gates user-facing progress
messages, isDebug() gates internal consistency warnings that are silent in
normal use. Set the levels with options(en.verbose = ) /
options(en.debug = ), or set_option("verbose", ).
Both accept a level (0, 1, 2, ...) or a logical, which is read as
1/0.
Usage
isVerbose(level = 1)
isDebug(level = 1)
Arguments
- level
numeric, the level to test against.
Value
TRUE if the configured level is at or above level.
See also
Other options:
en_config_path(),
en_config_show(),
get_default_solver(),
get_exchange_format(),
get_storage_format(),
set_log_file(),
set_option(),
set_path_builder(),
set_registry_file(),
set_reports_path(),
set_scenarios_path(),
set_solver_path()
Examples
isVerbose()
#> [1] FALSE
isDebug(2)
#> [1] FALSE