# Make cached versions of those computational-expensive functions upon package loading
.onLoad <- function(libname, pkgname) {
edd_stat_cached <<- memoise::memoise(edd_stat)
calculate_tree_distance_cached <<- memoise::memoise(calculate_tree_distance)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.