R/zzz.R

Defines functions .onAttach

.onAttach <- function(libname, pkgname) {
  masked <- c(
    "state.abb",
    "state.area",
    "state.center",
    "state.division",
    "state.name",
    "state.region"
  )
  masked <- paste("*", masked, collapse = "\n")
  msg <- c(
    "The 'usa' package masks the state datasets included in base R:\n",
    masked,
    "\nObjects are similar in class and content but updated and expanded."
  )
  packageStartupMessage(msg)
}

Try the usa package in your browser

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

usa documentation built on Feb. 23, 2020, 5:06 p.m.