yesno: A function that asks a yes or no question to the user

View source: R/utils.R

yesnoR Documentation

A function that asks a yes or no question to the user

Description

A function that asks a yes or no question to the user

Usage

yesno(...)

Arguments

...

Currently ignored

Value

A logical where TRUE implies a "yes" answer from the user.

Author(s)

Hadley Wickham Hadley@Rstudio.com Largely based on devtools:::yesno(). The user gets three options in an random order: 2 for "no", 1 for "yes". The wording for "yes" and "no" is random as well. This forces the user to carefully read the question.

See Also

Other utils: ask_yes_no(), author2df(), bookdown_zenodo(), c_sort(), create_hexsticker(), execshell(), menu_first(), orcid2person(), store_authors(), use_author(), validate_email(), validate_orcid()


inbo/checklist documentation built on June 15, 2025, 12:54 p.m.