renozao / NMF

NMF: A Flexible R package for Nonnegative Matrix Factorization
139 stars 41 forks source link

source('http://renozao.github.io/repotools/install.R') fails when one has non-unique repos in option(repos) #153

Open MarcinKosinski opened 4 years ago

MarcinKosinski commented 4 years ago
getOption('repos')
[1] "http://cloudyr.github.io/drat"  "http://cloudyr.github.io/drat"
source('http://renozao.github.io/repotools/install.R')
Using GitHub PAT from envvar GITHUB_PAT
Downloading GitHub repo renozao/repotools@master
from URL https://api.github.com/repos/renozao/repotools/zipball/master
WARNING: Rtools is required to build R packages, but no version of Rtools compatible with R 3.5.1 was found. (Only the following incompatible version(s) of Rtools were found:3.5)

Please download and install the appropriate version of Rtools from http://cran.r-project.org/bin/windows/Rtools/.
Installing repotools
Using GitHub PAT from envvar GITHUB_PAT
Installation failed: duplicate 'row.names' are not allowed
Error in library(package, pos = pos, lib.loc = lib.loc, character.only = TRUE,  : 
  there is no package called ‘repotools’
In addition: Warning message:
non-unique values when setting 'row.names': ‘http://cloudyr.github.io/drat’

Session info

> session_info()
Session info --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 setting  value                       
 version  R version 3.5.1 (2018-07-02)
 system   x86_64, mingw32             
 ui       RStudio (1.2.5001)          
 language (EN)                        
 collate  English_United Kingdom.1252 
 tz       Europe/Berlin               
 date     2020-05-06                  

Packages ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 package       * version  date       source                       
 assertthat      0.2.0    2017-04-11 CRAN (R 3.5.1)               
 aws.s3        * 0.3.22   2020-04-28 local                        
 aws.signature   0.5.2    2019-08-08 CRAN (R 3.5.3)               
 backports       1.1.5    2019-10-02 CRAN (R 3.5.3)               
 base          * 3.5.1    2018-07-02 local                        
 base64enc       0.1-3    2015-07-28 CRAN (R 3.5.0)               
 BiocInstaller   1.32.1   2018-11-01 Bioconductor                 
 broom         * 0.5.5    2020-02-29 CRAN (R 3.5.3)               
 cellranger      1.1.0    2016-07-27 CRAN (R 3.5.1)               
 cli             1.1.0    2019-03-19 CRAN (R 3.5.3)               
 colorspace      1.3-2    2016-12-14 CRAN (R 3.5.1)               
 compiler        3.5.1    2018-07-02 local                        
 conflicted    * 1.0.4    2019-06-21 CRAN (R 3.5.3)               
 crayon          1.3.4    2017-09-16 CRAN (R 3.5.1)               
 crunch        * 1.24.0   2018-09-12 CRAN (R 3.5.1)               
 curl            4.2      2019-09-24 CRAN (R 3.5.3)               
 datasets      * 3.5.1    2018-07-02 local                        
 devtools      * 1.13.3   2017-08-02 CRAN (R 3.5.1)               
 digest          0.6.25   2020-02-23 CRAN (R 3.5.1)               
 dplyr         * 0.8.5    2020-03-07 CRAN (R 3.5.3)               
 ellipsis        0.3.0    2019-09-20 CRAN (R 3.5.3)               
 fansi           0.4.0    2018-10-05 CRAN (R 3.5.1)               
 forcats       * 0.5.0    2020-03-01 CRAN (R 3.5.3)               
 g6tr          * 0.4.10   2020-04-30 local                        
 generics        0.0.2    2018-11-29 CRAN (R 3.5.2)               
 ggplot2       * 3.3.0    2020-03-05 CRAN (R 3.5.3)               
 git2r           0.24.0   2019-01-07 CRAN (R 3.5.2)               
 glue            1.3.2    2020-03-12 CRAN (R 3.5.3)               
 graphics      * 3.5.1    2018-07-02 local                        
 grDevices     * 3.5.1    2018-07-02 local                        
 grid            3.5.1    2018-07-02 local                        
 gtable          0.2.0    2016-02-26 CRAN (R 3.5.1)               
 haven         * 2.2.0    2019-11-08 CRAN (R 3.5.3)               
 highr           0.8      2019-03-20 CRAN (R 3.5.3)               
 hms             0.5.3    2020-01-08 CRAN (R 3.5.3)               
 htmltools       0.3.6    2017-04-28 CRAN (R 3.5.1)               
 httpcache       1.1.0    2017-10-17 CRAN (R 3.5.1)               
 httpuv          1.4.5.1  2018-12-18 CRAN (R 3.5.2)               
 httr            1.4.1    2019-08-05 CRAN (R 3.5.3)               
 janitor         1.2.0    2019-04-21 CRAN (R 3.5.3)               
 jsonlite        1.6.1    2020-02-02 CRAN (R 3.5.3)               
 later           0.7.5    2018-09-18 CRAN (R 3.5.2)               
 lattice         0.20-35  2017-03-25 CRAN (R 3.5.1)               
 lifecycle       0.2.0    2020-03-06 CRAN (R 3.5.3)               
 lubridate       1.7.8    2020-04-06 CRAN (R 3.5.3)               
 magrittr      * 1.5      2014-11-22 CRAN (R 3.5.3)               
 memoise         1.1.0    2017-04-21 CRAN (R 3.5.1)               
 methods       * 3.5.1    2018-07-02 local                        
 mime            0.7      2019-06-11 CRAN (R 3.5.3)               
 miniUI          0.1.1.1  2018-05-18 CRAN (R 3.5.2)               
 modelr          0.1.2    2018-05-11 CRAN (R 3.5.1)               
 munsell         0.5.0    2018-06-12 CRAN (R 3.5.3)               
 nlme            3.1-137  2018-04-07 CRAN (R 3.5.1)               
 packrat         0.5.0    2018-11-14 CRAN (R 3.5.3)               
 pillar          1.4.3    2019-12-20 CRAN (R 3.5.3)               
 pkgconfig       2.0.1    2017-03-21 CRAN (R 3.5.1)               
 promises        1.0.1    2018-04-13 CRAN (R 3.5.2)               
 purrr         * 0.3.4    2020-04-17 CRAN (R 3.5.3)               
 questionr       0.7.0    2018-11-26 CRAN (R 3.5.3)               
 R6              2.2.2    2017-06-17 CRAN (R 3.5.1)               
 Rcpp            1.0.4    2020-03-17 CRAN (R 3.5.3)               
 readr         * 1.3.1    2018-12-21 CRAN (R 3.5.3)               
 readxl          1.3.1    2019-03-13 CRAN (R 3.5.3)               
 renv            0.9.3-58 2020-03-19 Github (rstudio/renv@5f82084)
 rlang           0.4.5    2020-03-01 CRAN (R 3.5.3)               
 rstudioapi      0.11     2020-02-07 CRAN (R 3.5.3)               
 rvest           0.3.2    2016-06-17 CRAN (R 3.5.1)               
 scales          1.1.0    2019-11-18 CRAN (R 3.5.3)               
 shiny           1.2.0    2018-11-02 CRAN (R 3.5.2)               
 snakecase       0.9.2    2018-08-14 CRAN (R 3.5.2)               
 stats         * 3.5.1    2018-07-02 local                        
 stringi         1.4.6    2020-02-17 CRAN (R 3.5.3)               
 stringr       * 1.4.0    2019-02-10 CRAN (R 3.5.3)               
 tibble        * 3.0.0    2020-03-30 CRAN (R 3.5.3)               
 tidyr         * 1.0.2    2020-01-24 CRAN (R 3.5.3)               
 tidyselect      1.0.0    2020-01-27 CRAN (R 3.5.3)               
 tidyverse     * 1.2.1    2017-11-14 CRAN (R 3.5.1)               
 tools           3.5.1    2018-07-02 local                        
 utf8            1.1.4    2018-05-24 CRAN (R 3.5.1)               
 utils         * 3.5.1    2018-07-02 local                        
 vctrs           0.2.4    2020-03-10 CRAN (R 3.5.3)               
 withr           2.0.0    2017-07-28 CRAN (R 3.5.1)               
 writexl       * 1.2      2019-11-27 CRAN (R 3.5.3)               
 xml2            1.2.5    2020-03-11 CRAN (R 3.5.3)               
 xtable          1.8-3    2018-08-29 CRAN (R 3.5.1)