R/zzz.R

Defines functions .onAttach

.PopedNamespaceEnv <- new.env()

# Remove CRAN note on no visible binding for global variable
utils::globalVariables(c('.'))

.onAttach <- function(...) {
  
  if (!interactive()) return()
  
  text <- c('  For recent updates to PopED checkout:\n  https://andrewhooker.github.io/PopED/index.html',
            '  Submit suggestions and bug-reports at:\n  https://github.com/andrewhooker/PopED/issues',
            '  Learn more in this introduction to PopED:\n  https://andrewhooker.github.io/PopED/articles/intro-poped.html',
            "  Find out what's changed in PopED at:\n  https://github.com/andrewhooker/PopED/releases.")
  
  packageStartupMessage(sample(text, size = 1))
}

Try the PopED package in your browser

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

PopED documentation built on May 21, 2021, 5:08 p.m.