-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathyesno.Rd
40 lines (40 loc) · 1.06 KB
/
yesno.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{yesno}
\alias{yesno}
\title{A function that asks a yes or no question to the user}
\usage{
yesno(...)
}
\arguments{
\item{...}{Currently ignored}
}
\value{
A logical where \code{TRUE} implies a "yes" answer from the user.
}
\description{
A function that asks a yes or no question to the user
}
\seealso{
Other utils:
\code{\link{ask_yes_no}()},
\code{\link{author2df}()},
\code{\link{bookdown_zenodo}()},
\code{\link{c_sort}()},
\code{\link{create_hexsticker}()},
\code{\link{execshell}()},
\code{\link{menu_first}()},
\code{\link{orcid2person}()},
\code{\link{store_authors}()},
\code{\link{use_author}()},
\code{\link{validate_email}()},
\code{\link{validate_orcid}()}
}
\author{
Hadley Wickham \href{mailto:[email protected]}{[email protected]}
Largely based on \code{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.
}
\concept{utils}