R/zzz.R

Defines functions .onAttach

.onAttach <- function(libname, pkgname) {
  m <- paste("Please cite the eBird Status & Trends data using:",
             "Fink, D., T. Auer, A. Johnston, M. Strimas-Mackey, O. Robinson, S. Ligocki, W. Hochachka,",
             "C. Wood, I. Davies, M. Iliff, L. Seitz. %s. eBird Status and Trends,",
             "Data Version: %s; Released: %s Cornell Lab of Ornithology, Ithaca, New York.",
             "https://doi.org/10.2173/ebirdst.%s",
             sep = " \n  ")
  v <- ebirdst_version()
  dv <- v["data_version"]
  rv <- v["release_year"]
  packageStartupMessage(sprintf(m, rv, dv, rv, dv))
}

Try the ebirdst package in your browser

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

ebirdst documentation built on Sept. 15, 2021, 9:07 a.m.