has_color {crayon}R 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()

[Package crayon version 1.5.2 Index]