InternalOnly <- function() {
node <- Sys.info()["nodename"]
if (!grepl("knmi.nl", node)) {
errMsg <- "This function works only inside KNMI"
flog.error(errMsg)
stop(errMsg)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.