#' Check for Java
#' @return invisible()
java_check <- function() {
if (system2("java", stdout = FALSE, stderr = FALSE) == 127)
stop("java binaries not installed/on system path", call. = FALSE)
invisible()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.