R/openalexR-internal.R

Defines functions .onAttach

.onAttach <- function(libname, pkgname) {
  if (!grepl("suppress", Sys.getenv("openalexR.message"), ignore.case = TRUE)){
    packageStartupMessage(
      "openalexR v2.0.0 introduces breaking changes.\n",
      "See NEWS.md for details.\n\n",
      "To suppress this message, add `openalexR.message = suppressed` ",
      "to your .Renviron file."
    )
  }
}

Try the openalexR package in your browser

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

openalexR documentation built on June 8, 2025, 12:47 p.m.