#' UpgradeBioconductorPackages
#'
#' Source and run \code{https://bioconductor.org/biocLite.R}.
#'
#' @export
UpgradeBioconductorPackages <- function(){
if(!exists("biocLite")){
message("Sourcing biocLite()")
source("https://bioconductor.org/biocLite.R")
}
message("Checking for updates to installed packages")
biocLite(type = "source",
dependencies=TRUE,
build_vignettes=TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.