cli_sitrep

0th

Percentile

cli situation report

Contains currenty:

  • cli_unicode_option: whether the cli.unicode option is set and its value. See is_utf8_output().

  • symbol_charset: the selected character set for symbol, UTF-8, Windows, or ASCII.

  • console_utf8: whether the console supports UTF-8. See base::l10n_info().

  • latex_active: whether we are inside knitr, creating a LaTeX document.

  • num_colors: number of ANSI colors. See crayon::num_colors().

  • console_with: detected console width.

Usage
cli_sitrep()
Value

Named list with entries listed above. It has a cli_sitrep class, with a print() and format() method.

Aliases
  • cli_sitrep
Examples
# NOT RUN {
cli_sitrep()
# }
Documentation reproduced from package cli, version 2.0.1, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.