user_confirm: User confirmation

View source: R/user_confirm.R

user_confirmR Documentation

User confirmation

Description

This function asks in an interactive question a binary question.

Usage

user_confirm(question = "Question?", default = FALSE)

Arguments

question

[character(1)]
The binary question to ask. It should end with a question mark.

default

[logical(1)]
The default decision.

Value

Either TRUE or FALSE.

See Also

Other package helpers: Dictionary, Storage, identical_structure(), input_check_response(), match_arg(), package_logo(), print_data.frame(), print_matrix(), system_information(), unexpected_error()


oeli documentation built on April 3, 2025, 9:29 p.m.