This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Install xCell R package form GitHub

Hi, I want to install the package, but R warns the error

devtools::install_github('dviraran/xCell')
Downloading GitHub repo dviraran/xCell@master
Error in utils::download.file(url, path, method = download_method(), quiet = quiet,  : 
  无法打开URL'https://api.github.com/repos/dviraran/xCell/tarball/master'

this is a R description

> sessionInfo()
R version 3.5.2 (2018-12-20)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale:
[1] LC_COLLATE=Chinese (Simplified)_People's Republic of China.936 
[2] LC_CTYPE=Chinese (Simplified)_People's Republic of China.936   
[3] LC_MONETARY=Chinese (Simplified)_People's Republic of China.936
[4] LC_NUMERIC=C                                                   
[5] LC_TIME=Chinese (Simplified)_People's Republic of China.936    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
r

It downloads and loads okay for me. Here is my info:

sessionInfo()
R version 3.6.0 (2019-04-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17763)

Matrix products: default

locale:
[1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United Kingdom.1252   
[3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C                           
[5] LC_TIME=English_United Kingdom.1252

Are you working behind a firewall? Can you update your R version to 3.6.x, or try re-installing the base utils package.?

0 answers

No answers yet.

Log in to answer this question.