omegahat / RDCOMClient

GNU General Public License v2.0
77 stars 34 forks source link

Impossible to install RDCOMClient on R 4.2 #38

Closed teorems closed 1 year ago

teorems commented 1 year ago

Hi. I've tried the two links provided with no avail (no RTools installation) . This is what i get:

install.packages("RDCOMClient", repos = "http://www.omegahat.net/R", type = "win.binary")

Warning in install.packages :
  impossible d'accéder à l'index de l'entrepôt http://www.omegahat.net/R/bin/windows/contrib/4.2:
  cannot open URL 'http://www.omegahat.net/R/bin/windows/contrib/4.2/PACKAGES'
Warning in install.packages :
  le package ‘RDCOMClient’ n'est pas disponible as a binary package for this version of R
devtools::install_github("omegahat/RDCOMClient")

Error: Failed to install 'unknown package' from GitHub:
  Timeout was reached: [api.github.com] Connection timed out after 10003 milliseconds
> sessionInfo()
R version 4.2.0 (2022-04-22 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)

Matrix products: default

locale:
[1] LC_COLLATE=French_France.utf8  LC_CTYPE=French_France.utf8    LC_MONETARY=French_France.utf8
[4] LC_NUMERIC=C                   LC_TIME=French_France.utf8    

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

other attached packages:
[1] devtools_2.4.4 usethis_2.1.6  pacman_0.5.1   httr_1.4.3    

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.9        urlchecker_1.0.1  compiler_4.2.0    later_1.3.0       prettyunits_1.1.1
 [6] profvis_0.3.7     remotes_2.4.2     tools_4.2.0       digest_0.6.29     pkgbuild_1.3.1   
[11] pkgload_1.3.0     memoise_2.0.1     lifecycle_1.0.1   rlang_1.0.4       shiny_1.7.2      
[16] cli_3.3.0         rstudioapi_0.13   curl_4.3.2        fastmap_1.1.0     stringr_1.4.0    
[21] fs_1.5.2          htmlwidgets_1.5.4 glue_1.6.2        R6_2.5.1          processx_3.7.0   
[26] sessioninfo_1.2.2 purrr_0.3.4       callr_3.7.1       magrittr_2.0.3    promises_1.2.0.1 
[31] ps_1.7.1          ellipsis_0.3.2    htmltools_0.5.3   mime_0.12         xtable_1.8-4     
[36] httpuv_1.6.5      stringi_1.7.8     miniUI_0.1.1.1    cachem_1.0.6      crayon_1.5.1     
ggrothendieck commented 1 year ago

On Windows with "R version 4.2.1 Patched (2022-08-03 r82668 ucrt)" and Rtools 42 I was able to install RDCOMClient from github using

devtools::install_github("omegahat/RDCOMClient")
duncantl commented 1 year ago

To follow up on this, given that the error message was a timeout to api.github.com and also to the www.omegahat.net site, both of which responded to my queries at about the same time as Emmanuel, I think this was just a network connectivity problem.

teorems commented 1 year ago

Ok, thanks , answers much appreciated. That was definitely a network problem (i was working through an enterprise proxy which can sometimes be demanding ...) . Tried the install on another machine and works perfectly.