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 June 22, 2024, 9:39 a.m.