Contains currenty:
cli_unicode_option: whether the cli.unicode option is set and its value. See is_utf8_output().
cli_unicode_option
cli.unicode
is_utf8_output()
symbol_charset: the selected character set for symbol, UTF-8, Windows, or ASCII.
symbol_charset
console_utf8: whether the console supports UTF-8. See base::l10n_info().
console_utf8
base::l10n_info()
latex_active: whether we are inside knitr, creating a LaTeX document.
latex_active
num_colors: number of ANSI colors. See crayon::num_colors().
num_colors
crayon::num_colors()
console_with: detected console width.
console_with
cli_sitrep()
Named list with entries listed above. It has a cli_sitrep class, with a print() and format() method.
cli_sitrep
print()
format()
# NOT RUN { cli_sitrep() # }
Run the code above in your browser using DataLab