.pkg.env <- new.env(parent = emptyenv())
.onLoad <- function(libname, pkgname) {
reticulate::configure_environment(pkgname)
assign("unimorph", reticulate::import("unimorph", delay_load = TRUE), .pkg.env)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.