Nothing
if (dir.exists("lantern")) {
cat("Building lantern .... \n")
dir.create("lantern/build", showWarnings = FALSE, recursive = TRUE)
withr::with_dir("lantern/build", {
system("cmake ..")
system("cmake --build . --target lantern --config Release --parallel 8")
})
# copy lantern
source("R/install.R")
source("R/lantern_sync.R")
lantern_sync(TRUE)
# download torch
install_torch(path = normalizePath("inst/"), load = FALSE)
}
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.