ask_yes_no: Function to ask a simple yes no question

View source: R/setup_project.R

ask_yes_noR Documentation

Function to ask a simple yes no question

Description

Function to ask a simple yes no question

Usage

ask_yes_no(msg, default = TRUE, prompts = c("Yes", "No", "Cancel"), ...)

Arguments

msg

The prompt message for the user.

default

The default response.

prompts

Any of: a character vector containing 3 prompts corresponding to return values of TRUE, FALSE, or NA, or a single character value containing the prompts separated by / characters, or a function to call.

...

Additional parameters, ignored by the default function.

See Also

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


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