Nothing
.onAttach <- function(libname, pkgname) {
cache_dir <- get_sprtt_cache_dir()
data_file <- file.path(cache_dir, "df_all.rds")
if (!file.exists(data_file)) {
packageStartupMessage(
"Note: Sample size planning functions require simulation data (~150 MB).\n",
"Data will download automatically on first use.\n",
"See ?download_sample_size_data for more information."
)
}
}
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.