R/wru-internal.R

Defines functions .onAttach

.onAttach <- function(libname, pkgname) {
  packageStartupMessage(
    "\n",
    "Please cite as:", "\n\n",
    format(utils::citation("wru"), style = "text"), "\n\n",
    "Note that wru 2.0.0 uses 2020 census data by default.", "\n",
    'Use the argument `year = "2010"`, to replicate analyses produced with earlier package versions.',
    "\n"
  )
}

Try the wru package in your browser

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

wru documentation built on May 29, 2024, 9:46 a.m.