print_with_color: Print that works with color

View source: R/printing_style.R

print_with_colorR Documentation

Print that works with color

Description

The same as the print function, but can print colored text. Its a bit of a hack, but the only way I found to replicate the behavior of print without rewriting the entire print function.

Usage

print_with_color(x, original_length = length(x), ...)

Arguments

x

What to print, typically a character vector

original_length

The length of the full vector if only part was given.

...

Passed to print


ropensci/taxa documentation built on Feb. 22, 2024, 5:08 p.m.