#' @importFrom rJava .jpackage
#' @import OnassisJavaLibs
.onLoad <- function(libname, pkgname) {
.jpackage(pkgname, lib.loc = libname)
tools::vignetteEngine("knitr", pattern = "[.]Rmd$", package = "knitr")
# .jinit(force.init=TRUE)
initJavaLibs()
}
.onAttach <- function(libname, pkgname) {
packageStartupMessage("OnASSIs successfully loaded")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.