Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2014
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. input <- readline(paste0("Password for 'https://",
  2. git_user_email, "@github.com': "))
  3. idx <- ifelse(grepl("\D", input), input, NA)
  4. if (is.na(idx)){
  5. message("Empty password")
  6. message("Exiting")
  7. return(character())
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement