#' global reference to pandleau (will be initialized in .onLoad)
pandleau <- NULL
.onLoad <- function(libname, pkgname) {
# use superassignment to update global reference to pandleau
pandleau <<- reticulate::import("pandleau", delay_load = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.