Nothing
.onLoad <- function(libname, pkgname) {
# Turn on this top secret feature of Shiny! Shhhhh!
options(shiny.allowoutputreads = TRUE)
registerMethods(list(
# c(package, genname, class)
c("knitr", "knit_print", "shinyMetaExpr")
))
}
# https://github.com/rstudio/htmltools/blob/cb452a837/R/tags.R#L22-L57
registerMethods <- function(methods) {
lapply(methods, function(method) {
pkg <- method[[1]]
generic <- method[[2]]
class <- method[[3]]
func <- get(paste(generic, class, sep="."))
if (pkg %in% loadedNamespaces()) {
registerS3method(generic, class, func, envir = asNamespace(pkg))
}
setHook(
packageEvent(pkg, "onLoad"),
function(...) {
registerS3method(generic, class, func, envir = asNamespace(pkg))
}
)
})
}
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.