temp_copy_pkg <- function(pkg) {
file.copy(normalizePath(pkg), tempdir(), recursive = TRUE)
normalizePath(file.path(tempdir(), basename(pkg)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.