Browse code

replace BiocInstaller biocLite mentions with BiocManager

LiNk-NY authored on 30/08/2018 17:47:35
Showing 2 changed files

... ...
@@ -1,6 +1,6 @@
1 1
 Package: DEGraph
2 2
 Title: Two-sample tests on a graph
3
-Version: 1.33.0
3
+Version: 1.33.1
4 4
 Date: 2012-04-27
5 5
 Author: Laurent Jacob, Pierre Neuvial and Sandrine Dudoit
6 6
 Maintainer: Laurent Jacob <laurent.jacob@gmail.com>
... ...
@@ -1,8 +1,9 @@
1 1
 ## Bioconductor packages
2
-source("http://bioconductor.org/biocLite.R")
3
-biocLite("Rgraphviz")
4
-biocLite("KEGGgraph")
5
-biocLite("marray")
2
+if (!requireNamespace("BiocManager", quietly=TRUE))
3
+    install.packages("BiocManager")
4
+BiocManager::install("Rgraphviz")
5
+BiocManager::install("KEGGgraph")
6
+BiocManager::install("marray")
6 7
 
7 8
 ## CRAN packages
8 9
 install.packages("rrcov")