yesno: Yes or No

Description Usage Arguments Value

View source: R/replicate-results.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/mwst2 documentation built on Sept. 9, 2020, 11:22 a.m.