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