Prompts the user to make a yes/no selection
yes_no(..., na = NULL, n_yes = 1, n_no = 2, noninteractive_error = TRUE)
text to display
Text for an NA response. When NULL, will not provide a possible NA response. When
The number of yes/no selections
While TRUE
, throws an error when the session
is not interactive. If FALSE
, will return NA
instead.