A function to ask a yes/no question and return Y/N after confirming
Usage
askyn_confirm(question, default = TRUE)
Arguments
- question
input Yes / No question
- default
Optionally set the default response value
Examples
if (FALSE) {
ask_yn_confirm("Do you like coding?")
}