has_color: Does the current R session support ANSI colors?

View source: R/has_color.r

has_colorR Documentation

Does the current R session support ANSI colors?

Description

From crayon 2.0.0, this function is simply a wrapper on num_ansi_colors().

Usage

has_color()

Value

TRUE if the current R session supports color.

Examples

has_color()

crayon documentation built on Sept. 29, 2022, 5:13 p.m.