#' @useDynLib foo foo_
#' @export
foo <- function() {
.Call(foo_)
}
.onUnload <- function(libpath) {
library.dynam.unload("foo", libpath)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.