R/requireAll.R

Defines functions requireAll

Documented in requireAll

requireAll <- function(packages) {
	.packages <- setdiff(packages, installed.packages()[,'Package'])
	if(length(.packages)>0) {
		source("http://bioconductor.org/biocLite.R")
		biocLite(.packages, dependencies=TRUE)
	}
	for(package in packages)
		do.call(require, list(package))
}

Try the MetaPCA package in your browser

Any scripts or data that you put into this service are public.

MetaPCA documentation built on May 30, 2017, 2:19 a.m.