has_color {crayon}R Documentation

Does the current R session support ANSI colors?

Description

Does the current R session support ANSI colors?

Usage

has_color()

Details

The following algorithm is used to detect ANSI support:

Value

TRUE if the current R session supports color.

Examples

has_color()

[Package crayon version 1.3.1 Index]