user-interaction | R Documentation |
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(...)
... |
Character vectors supporting glue strings and cli inline styles. |
glue::glue()
, cli::inline-markup
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.