multi-line-feedback: Provide multi-line feedback

multi-line-feedbackR Documentation

Provide multi-line feedback

Description

These functions provide a way to provide multi-line feedback. This is typically useful for any kind of small tasks you want to provide feedback about, or longer tasks for which you need the feedback to persist in the console (e.g. running external code that does provide essential information (in such a case, these are useful in combination with processx::run() and its stdout_line_callback argument)) Use

  • rui::entitle() for naming sections,

  • rui::inform() for providing information,

  • rui::approve() for succesful completion of a task or a positive test, and

  • rui::disapprove() for unsuccesful completion or a negative test.

Usage

entitle(...)

inform(...)

approve(...)

disapprove(...)

title(...)

Arguments

...

Character vectors supporting glue strings and cli inline styles.

See Also

glue::glue(), cli::inline-markup


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