ask_user: Ask User

View source: R/caching.R

ask_userR Documentation

Ask User

Description

Ask a user a prompt

Usage

ask_user(prompt)

Arguments

prompt

a string defining the prompt to ask the user

Details

This function asks a user a prompt and then parses the response to TRUE/FALSE. It will fail if the user doesn't respond with y/n

Value

TRUE or FALSE depending user input


MatthewJWhittle/getarc documentation built on April 22, 2023, 12:16 p.m.