Masked User Input

A micro-package for reading "passwords", i.e. reading user input with masking, so that the input is not displayed as it is typed. Currently we have support for 'RStudio', the command line (every OS), and any platform where 'tcltk' is present.


  • Version: 0.1-1
  • URL: https://github.com/wrathematics/getPass
  • Status:
  • License:
  • Author: Drew Schmidt and Wei-Chen Chen

A micro-package for reading user input in R with masking, i.e., the input is not displayed as it is typed.

Currently, RStudio, the command line (any OS), and platforms where the tcltk package is available are supported. We believe this hits just about everything, but for unsupported platforms, non-masked reading (with a warning) is optionally available. See the package vignette for more information.

getPass::getPass()

You can install the stable version from CRAN using the usual install.packages():

install.packages("getPass")

The development version is maintained on GitHub, and can easily be installed by any of the packages that offer installations from GitHub:

### Pick your preference
devtools::install_github("wrathematics/getPass")
ghit::install_github("wrathematics/getPass")
remotes::install_github("wrathematics/getPass")

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("getPass")

0.2-2 by Drew Schmidt, 2 months ago


https://github.com/wrathematics/getPass


Report a bug at https://github.com/wrathematics/getPass/issues


Browse source code at https://github.com/cran/getPass


Authors: Drew Schmidt [aut, cre], Wei-Chen Chen [aut], Gabor Csardi [ctb] (Improved terminal detection), Rich FitzJohn [ctb]


Documentation:   PDF Manual  


BSD 2-clause License + file LICENSE license


Imports utils, rstudioapi

Suggests argon2


Imported by keyring, remoter, rpg.

Suggested by git2r, restfulr.


See at CRAN