coloured_print: Add ANSI colour to a string

View source: R/ansi_colour.R

coloured_printR Documentation

Add ANSI colour to a string

Description

Add ANSI colour to a string

Usage

coloured_print(text, colour = "green")

Arguments

text

string

colour

colour ("red", "green", etc.) to add. Defaults to "green".

Value

a character string with ANSI codes surrounding it.


gridify documentation built on Feb. 5, 2026, 5:09 p.m.