R/zzz.r

Defines functions .onAttach

.onAttach <- function(...) { # nocov start

  if (!interactive()) return()

  if (sample(c(TRUE, FALSE), 1, prob = c(0.1, 0.9))) {
    packageStartupMessage(paste0("There are numerous changes & deprecations. ",
                                 "See https://github.com/hrbrmstr/cdcfluview for info/news."))
  }

} # nocov end

Try the cdcfluview package in your browser

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

cdcfluview documentation built on May 22, 2021, 5:07 p.m.