Description Usage Arguments Value Examples
The constructor always creates an empty suite (without any consonance test). To add tests into the suite, use the + operator together with constructors consonance_assert, consonance_check, or consonance_test.
1 2 3 4 5 | consonance_suite(
level = c("error", "warning"),
logging.level = c("WARN", "INFO", "ERROR"),
log.file = NULL
)
|
level |
character, determines when to halt execution |
logging.level |
character, determines level of verbosity in logs. This argument is over-ridden by setting a non-default logger. |
log.file |
character, path for a log file, or leave NULL to log to the console The default "log4r" sets up a simple console logger using package log4r. Setting a non-default logger over-rides values set in logging.level. |
object of class consonance and consonance_suite
1 2 3 4 5 6 7 | # an empty consonance suite with default settings
suite <- consonance_suite()
suite
# an empty consonance suite thta is verbose (logs more messages)
suite_verbose <- consonance_suite(logging.level="INFO")
suite_verbose
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.