Nothing
# eiballots/R/zzz.R
# Package hooks: startup message about data source
.onAttach <- function(libname, pkgname) {
src <- getOption("data_dir")
if (is.null(src)) {
packageStartupMessage(
"eiballots: data will be loaded from OSF (online mode).\n",
" To work with local data files, run:\n",
" options(data_dir = \"/path/to/your/data/\")"
)
} else {
packageStartupMessage(
sprintf("eiballots: using local data directory '%s'.", src)
)
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.