#' @include utils.R
#' @import rjd3sts
.onLoad <- function(libname, pkgname) {
if (!requireNamespace("rjd3sts", quietly = TRUE)) stop("Loading rjd3 libraries failed")
result <- .jpackage(pkgname, lib.loc=libname)
if (!result) stop("Loading java packages failed")
#proto.dir <- system.file("proto", package = pkgname)
#RProtoBuf::readProtoFiles2(protoPath = proto.dir)
# reload extractors
.jcall("jdplus/toolkit/base/api/information/InformationExtractors", "V", "reloadExtractors")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.