user_confirm: User confirmation
Description
This function asks in an interactive question a binary question.
Usage
user_confirm(question = "Question?", default = FALSE)
Value
Either TRUE
or FALSE
.
Arguments
- question
A character
, the binary question to ask. It should end with a
question mark.
- default
Either TRUE
or FALSE
(default), the default decision.