message_on_prompt: Shortcut to display a message and acceptation on prompt

View source: R/00-utils.R

message_on_promptR Documentation

Shortcut to display a message and acceptation on prompt

Description

Shortcut allowing to provide user a prompt and a message that is to be read and validated before pursuing process. This function is targeted for function creators where user interaction is required.

Usage

message_on_prompt(...)

Arguments

...

String character to put in a message

Value

Nothing to be returned. The function sends a message as a prompt in the console.

Examples

{

message_on_prompt("Do you want to continue? Press `enter` or `esc`")

}


fabR documentation built on May 29, 2024, 2:58 a.m.