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(), renv_development_packages(), system_information(), unexpected_error()


oeli documentation built on Oct. 16, 2024, 5:08 p.m.