R/zzz.R

Defines functions check_username

# check username
check_username <- function(username, regex = ".*", msg = "incorrect username format") {
  if (!grepl(regex, username)) {
    stop(msg, call. = F)
  }
  invisible(TRUE)
}
cderv/proxyconfig documentation built on Oct. 7, 2019, 4:33 p.m.