[R] install_github does not work locally

Federico Calboli |eder|co@c@|bo|| @end|ng |rom ku|euven@be
Tue Apr 13 09:24:49 CEST 2021


I am trying to install a package from github, but my local installation fails (whereas doing the very same thing on a remote cluster works, and downloading the tarball by hand works).  I assume the issue is mine, but I have no idea how to solve it.  In any case, here is what I am doing and my session info.



Downloading GitHub repo Syksy/curatedPCaData using HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet,  : 
  download from 'https://api.github.com/repos/Syksy/curatedPCaData/tarball/HEAD’ failed

> sessionInfo()
R version 4.0.4 (2021-02-15)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Mojave 10.14.6

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRblas.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8

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

loaded via a namespace (and not attached):
 [1] magrittr_2.0.1    usethis_2.0.1     devtools_2.4.0    pkgload_1.2.1     R6_2.5.0          rlang_0.4.10      fastmap_1.1.0     tools_4.0.4      
 [9] pkgbuild_1.2.0    sessioninfo_1.1.1 cli_2.4.0         withr_2.4.1       ellipsis_0.3.1    remotes_2.3.0     rprojroot_2.0.2   lifecycle_1.0.0  
[17] crayon_1.4.1      processx_3.5.1    purrr_0.3.4       callr_3.6.0       fs_1.5.0          ps_1.6.0          curl_4.3          testthat_3.0.2   
[25] memoise_2.0.0     glue_1.4.2        cachem_1.0.4      compiler_4.0.4    desc_1.3.0        prettyunits_1.1.1

Federico Calboli
LBEG - Laboratory of Biodiversity and Evolutionary Genomics
Charles Deberiotstraat 32 box 2439
3000 Leuven
+32 16 32 87 67

More information about the R-help mailing list