questions: Store a series of questions, to ask them later

Description Usage Arguments Value Examples

View source: R/ask.R

Description

Later you can call ask_ (note the trailing underscore!) to ask them.

Usage

1

Arguments

...

Questions to store. See ask.

Value

An unevaluated series of questions for future use.

Examples

1
2
3
4
5
6
7
8
## Not run: 
qs <- questions(
  name = input("What is your name?"),
  color = choose("Red or blue?", c("Red", "Blue"))
)
ask_(qs)

## End(Not run)

gaborcsardi/ask documentation built on July 13, 2017, 4:03 a.m.