has_color: Does the current R session support ANSI colors?

Description Usage Value Examples

View source: R/has_color.r

Description

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

Usage

1

Value

TRUE if the current R session supports color.

Examples

1

Example output

[1] FALSE

crayon documentation built on Oct. 30, 2021, 1:07 a.m.