R/zzz.R

Defines functions .onAttach

# On library attachment, print message to user.
.onAttach <- function(libname, pkgname) {
  msg <- paste0(
    "\n",
    "== Welcome to TidyDensity ===========================================================================",
    "\nIf you find this package useful, please leave a star: ",
    "\n   https://github.com/spsanderson/TidyDensity'",
    "\n",
    "\nIf you encounter a bug or want to request an enhancement please file an issue at:",
    "\n   https://github.com/spsanderson/TidyDensity/issues",
    "\n",
    "\nThank you for using TidyDensity!",
    "\n"
  )

  packageStartupMessage(msg)
}
spsanderson/TidyDensity documentation built on Nov. 5, 2024, 4:39 a.m.