options <- list(
global_dir = if (!internal) {
file.path(Sys.getenv("HOME"), "optionr")
} else {
file.path(Sys.getenv("HOME"), "optionr", basename(getwd()))
},
wd = getwd(),
runtime_mode = "dev",
lib = .libPaths()[1]
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.