.onAttach <- function(...){
# Check package is up to date
tryCatch({
packageStartupMessage(SCRCdataAPI:::get_startup_message(
"ScottishCovidResponse/SCRCdata", "SCRCdata"))
}, error = function(e){
packageStartupMessage("Could not check if updates are available, please check manually")
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.