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()

gaborcsardi/crayon documentation built on Nov. 10, 2023, 9:15 a.m.