readUserInput: A wrapper around readline that supports masking

Description Usage Value

View source: R/utils.R

Description

In case the user enters sensitive information such as a password, this function tries to mask the input by calling getPass of the eponymous package if it can be made available.

Usage

1
readUserInput(secret = FALSE, prefix = "")

Value

The string entered by the user.


nbenn/secretr documentation built on May 23, 2019, 12:24 p.m.