R/zzz.R

Defines functions .onAttach .onLoad

.onLoad <- function(libname, pkgname) {
  # clear the environment of previous stores
  options(".funCNames" = c())
  options(".funCNamesPkgReference" = data.frame())
}

.onAttach <- function(libname, pkgname) {
  # deliver a welcoming message, very important
  packageStartupMessage("r2shortcodes: a package that shortens your other packages")
}

Try the r2shortcode package in your browser

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

r2shortcode documentation built on July 2, 2020, 4:15 a.m.