View source: R/ask_to_proceed.r
ask_to_proceed | R Documentation |
ask_to_proceed(msg = "Do you want to proceed?")
msg |
(string; default = "Do you want to proceed?") a message to the
user, often something like "do you want to proceed and run |
A convenience wrapper to prompt the user if they want to proceed. Deprecated
because it basically already exists as usethis::ui_yeah()
.
a logical where TRUE
if the user wants to proceed
## Not run:
use_renv <- ask_to_proceed("Do you want to set up renv?")
if (use_renv) {
setup_renv()
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.