Skip to contents

Yes/No confirmation

Usage

prompt_confirm(message, value = NULL, default = TRUE)

Arguments

message

Question to ask

value

Current value - if not NULL, returns it without prompting

default

Default choice (TRUE for yes, FALSE for no)

Value

Logical TRUE or FALSE