# -------------------------------------------------------------------
# Forces the system to use UTC timezone as soon as the package
# is attached in an R session.
# -------------------------------------------------------------------
.onAttach <- function(libname, pkgname) {
Sys.setenv("TZ"="UTC")
info <- sprintf("\n Warning: R timezone has been set to UTC!\n\n")
packageStartupMessage(info)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.