pretty_print_code {cli}R Documentation

Turn on pretty-printing functions at the R console

Description

Defines a print method for functions, in the current session, that supports syntax highlighting.

Usage

pretty_print_code()

Details

The new print method takes priority over the built-in one. Use base::suppressMessages() to suppress the alert message.


[Package cli version 3.6.3 Index]