console: The console API

View source: R/console.R

consoleR Documentation

The console API

Description

This function provides an alternative to the verb-based API, by mapping the set of prefixes to the corresponding verbs.

Usage

console(..., object = NULL, levels = 1, .envir = parent.frame())

Arguments

...

Character vectors supporting glue strings and cli inline styles. This should start with a supported prefix, to map the action to one of the rui verbs. Otherwise, rui::tell() is used. Supported prefixes are(entitle), i (inform), v (approve), x (disapprove), ~ (begin/proceed), =

(give), * (suggest), ? (ask), ! (alert), w (warn), e (stop), . (display), and $ (expose). Status bars can be resolved by providing single characters "c", "v", or "x" for clear, succeed and fail respectively.

object

Object to print the rui way through rui::inspect().


rogiersbart/rui documentation built on June 28, 2024, 7:35 a.m.