R/checkName.R

Defines functions .checkName

.checkName <- function(name){
  okName = grep("^[a-zA-Z][a-zA-Z0-9_]*$", name)
  if (length(okName) == 0) {
    return(FALSE)
  }
  return(TRUE)
}

Try the webmaps package in your browser

Any scripts or data that you put into this service are public.

webmaps documentation built on May 2, 2019, 4:52 p.m.