R/rhfPwdInput.R

Defines functions rhfPwdInput

Documented in rhfPwdInput

#' Password User Input Prompt Dialogue
#'
#' This function starts a promt dialoque that asks for a password input.
#'
#' @examples
#' \dontrun{
#' pwd <- rhfPwdInput()
#' }
#'
#' @export
#' @return user input as character

rhfPwdInput <- function(){
  # This function starts a promt dialoque that asks for a password input.
  n <- readline(prompt="Enter password: ")
  n <- as.character(n)
  n
}
jburkhardt/RHelperFunctions documentation built on May 29, 2019, 2:56 p.m.