Package 'std'

Title: A simple modern interface to the standard streams
Description: This package provides wrappers around different {cli} functions to easily work with simple in- and output from/to the standard streams.
Authors: Bart Rogiers [cre, aut] (<https://orcid.org/0000-0002-8836-0988>, <https://rogiersbart.github.io>), SCK CEN [cph, fnd]
Maintainer: Bart Rogiers <[email protected]>
License: MIT + file LICENSE
Version: 0.0.0.9000
Built: 2025-01-29 03:21:38 UTC
Source: https://github.com/rogiersbart/std

Help Index


Access the standard error stream

Description

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

Usage

err(..., .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().