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.

give(...)

suggest(...)

ask(..., .demo = FALSE)

copy(...)

do(...)

Arguments

...

Character vectors supporting glue strings and cli inline styles.