cli_sitrep: cli situation report

View source: R/sitrep.R

cli_sitrepR Documentation

cli situation report

Description

Contains currently:

  • 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 num_ansi_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.

Examples

cli_sitrep()

r-pkgs/boxes documentation built on March 31, 2024, 10:01 p.m.