.onAttach <- function(lib, pkg){
msg <- base::writeLines(c("Have you updated tidycensus since the release date of the data you'll use?",
"remotes::install_github('walkerke/tidycensus')"))
packageStartupMessage(msg)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.