# Need to check the version exists on CRAN Archive
archive_exists <- function(package,version){
require(RCurl)
urls <- get_archive_url(package,version)
sapply(urls,url.exists)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.