get_archive_url <- function(package,version){
urls <- sprintf("http://cran.rstudio.com/src/contrib/Archive/%s/%s_%s.tar.gz",package,package,version)
return(urls)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.