Browse code

replace BiocInstaller biocLite mentions with BiocManager

LiNk-NY authored on 30/08/2018 17:56:53
Showing 3 changed files

... ...
@@ -1,7 +1,7 @@
1 1
 Package: StarBioTrek
2 2
 Type: Package
3 3
 Title: StarBioTrek
4
-Version: 1.7.0
4
+Version: 1.7.1
5 5
 Date: 10-16-2017
6 6
 Author: Claudia Cava,
7 7
     Isabella Castiglioni
... ...
@@ -2,7 +2,8 @@
2 2
 
3 3
 ### Installation ###
4 4
 ```R
5
-source("https://bioconductor.org/biocLite.R")
6
-biocLite("StarBioTrek")
5
+if (!requireNamespace("BiocManager", quietly=TRUE))
6
+    install.packages("BiocManager")
7
+BiocManager::install("StarBioTrek")
7 8
 ```
8 9
 
... ...
@@ -368,8 +368,9 @@ This tool `StarBioTrek` presents some methodologies to measure pathway activity
368 368
 To install use the code below.
369 369
 
370 370
 ```{r, eval = FALSE}
371
-source("https://bioconductor.org/biocLite.R")
372
-biocLite("StarBioTrek")
371
+if (!requireNamespace("BiocManager", quietly=TRUE))
372
+    install.packages("BiocManager")
373
+BiocManager::install("StarBioTrek")
373 374
 ```
374 375
 
375 376