Browse code

replace BiocInstaller biocLite mentions with BiocManager

LiNk-NY authored on 30/08/2018 17:51:12
Showing 2 changed files

... ...
@@ -2,7 +2,7 @@ Package: KEGGlincs
2 2
 Type: Package
3 3
 Title: Visualize all edges within a KEGG pathway and overlay LINCS data
4 4
         [option]
5
-Version: 1.7.2
5
+Version: 1.7.3
6 6
 Date: 2016-06-02
7 7
 Author: Shana White
8 8
 Maintainer: Shana White <vandersm@mail.uc.edu>, Mario Medvedovic <medvedm@ucmail.uc.edu>
... ...
@@ -14,7 +14,7 @@ LazyData: true
14 14
 RoxygenNote: 6.0.1
15 15
 Depends: R (>= 3.3), KOdata, hgu133a.db, org.Hs.eg.db (>= 3.3.0)
16 16
 SystemRequirements: Cytoscape (>= 3.3.0), Java (>= 8)
17
-Suggests: BiocInstaller (>= 1.20.3), knitr, graph
17
+Suggests: BiocManager (>= 1.20.3), knitr, graph
18 18
 biocViews: NetworkInference, GeneExpression, DataRepresentation,
19 19
         ThirdPartyClient,CellBiology,GraphAndNetwork,Pathways,KEGG,Network
20 20
 Imports:
... ...
@@ -10,11 +10,12 @@ Installation:
10 10
 
11 11
 ```{r}
12 12
 #Make sure that the following bioconductor packages are installed
13
-source("http://bioconductor.org/biocLite.R")
14
-biocLite(c("hgu133a.db", "KEGGgraph", "KEGGREST", "KOdata"))
13
+if (!requireNamespace("BiocManager", quietly=TRUE))
14
+    install.packages("BiocManager")
15
+BiocManager::install(c("hgu133a.db", "KEGGgraph", "KEGGREST", "KOdata"))
15 16
 
16 17
 #Download package
17
-biocLite("KEGGlincs")
18
+BiocManager::install("KEGGlincs")
18 19
 
19 20
 #Load/activate package for use
20 21
 library(KEGGlincs)