Commit cecf46dc authored by Aurelien Brionne's avatar Aurelien Brionne
Browse files

install facilities

parent e988705c
###################
# package startup check
.onAttach<-function(libname, pkgname) {
###################
# package startup check
toinstall=c(
"AnnotationDbi",
"data.table",
"GenomicFeatures",
"GenomicRanges",
"IRanges",
"methods",
"plotly",
"UpSetR",
"BiocStyle",
"knitr",
"rmarkdown",
"githubinstall"
)
###################
# previously installed
check=toinstall%in%utils::installed.packages()[,1]
###################
# install if needed
if(!base::all(check)){
source("https://bioconductor.org/biocLite.R")
biocLite(list[!toinstall])
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment