prettycode: Pretty Print R Code in the Terminal

View source: R/print.R

prettycodeR Documentation

Pretty Print R Code in the Terminal

Description

Replace the standard print method for functions with one that performs syntax highlighting, using ANSI colors, if the terminal supports them.

Usage

prettycode(warn_conflicts = TRUE)

Arguments

warn_conflicts

logical. If TRUE, warnings are printed about conflicts from replacing the standard print method.


gaborcsardi/prettycode documentation built on Nov. 10, 2023, 9:58 a.m.