select_from_list: Prompt to select from a list of options

Description Usage Arguments Value

View source: R/misc_fun.R

Description

Helper asking the user to select an item from a list.

Usage

1
select_from_list(items, caption = "Select an item")

Arguments

items

A character vector of options/items.

caption

The prompt.

Value

A single character element.


benjbuch/summerr documentation built on July 11, 2021, 9:40 a.m.