yesno: Yes or No

Description Usage Arguments Value

View source: R/question.R

Description

Asks user a question and returns a TRUE or FALSE to indicate whether user answered yes or no. Modified from devtools package internal function so that yes returns TRUE.

Usage

1
yesno(question)

Arguments

question

a character scalar of the question to ask the user

Value

A logical scalar indicating whether reponse was yes (TRUE) or no (FALSE).


poissonconsulting/tulip documentation built on Feb. 18, 2021, 11:18 p.m.