#' Download a file if it does not exist
#'
#' @param path The destination path on disk
#' @param url The source URL
#' @export
ensure.exists = function(path, url) {
if (!file.exists(path)) {
download.file(url, path)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.