user-interaction: User interaction

user-interactionR Documentation

User interaction

Description

These functions provide a way to interact with the user. Use

  • rui::give() to give the user a piece of code to be inserted elsewhere,

  • rui::suggest() to suggest the user a thing to do,

  • rui::ask() to ask the user a yes/no question. Note rui::give() does not support cli styles.

Usage

give(...)

suggest(...)

ask(..., .demo = FALSE)

copy(...)

do(...)

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.