library(mlr)
if (identical(Sys.getenv("TRAVIS"), "true") || identical(Sys.getenv("APPVEYOR"), "True")) {
p = normalizePath("~/.openml/cache", mustWork = FALSE)
dir.create(p, recursive = TRUE, showWarnings = FALSE)
setOMLConfig(apikey = Sys.getenv("OPENMLAPIKEY"), cachedir = p,
server = "http://test.openml.org/api/v1", confirm.upload = FALSE)
}
Sys.setenv(NOT_CRAN = "true")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.