| print_cli | R Documentation |
Determines whether CLI progress or messaging functions should be executed.
This helper evaluates the seekr.verbose option, checks for an interactive session,
and disables output during testthat tests.
print_cli()
This function is designed to control conditional CLI output (e.g., cli::cli_progress_step()).
It returns TRUE only when:
getOption("seekr.verbose", TRUE) is TRUE
the session is interactive (interactive())
testthat is not running (!testthat::is_testing())
A logical scalar: TRUE if CLI output should be shown, FALSE otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.