gray: Gray text

View source: R/fmt.R

grayR Documentation

Gray text

Description

A fmt() convenience wrapper for making text gray.

Usage

gray(x, output_type = NULL)

Arguments

x

Character: Text to format

output_type

Character ("ansi", "html", "plain") or NULL: Output type. If NULL, resolved via get_output_type().

Details

This is an internal function so it does not mask grDevices::gray(). Can be useful in contexts where muted is not supported.

Value

Character: Formatted text with gray styling

Author(s)

EDG

Examples

message(gray("gray text"))

rtemis.core documentation built on Sept. 20, 2026, 9:06 a.m.