.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."
)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.