Description Usage Arguments Details Value Examples
Use these functions to wrap code in a verbosity option. You can
wrap blocks of code using with_verbosity(); you can use the adverb
verbosely() to modify another function so it acts with verbosity.
1 2 3 | with_verbosity(verbosity = c("error", "info", "all", "none"), code)
verbosely(.f, verbosity = c("error", "info", "all", "none"))
|
verbosity |
|
code |
Code to be run using the verbosity option |
.f |
|
Keep in mind that only the "closest" invocation to the code will be
effective; the allowable values for verbosity are:
"error"reports results of all checks that failed
"info"reports results of all checks that failed, and that find missing optional information
"all"reports results of all checks
"none"reports no results
TODO: talk about implementation, steward.verbosity
The results of the evaluation of the code argument.
function with same arguments as .f, which will run
using the verbosity argument
1 2 3 | with_verbosity("all", stw_meta(diamonds_meta))
verbosely(stw_meta, "all")(diamonds_meta)
diamonds_meta %>% verbosely(stw_meta, "all")()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.