r-hub/sysreqs

Failed to Use sysreqs for RandomFields's Description

ismailsunni opened this issue · 3 comments

I have this code:

platform = "linux-x86_64-ubuntu-gcc"
library("RandomFields")
sysreqs(desc = file.path(path.package(package = "RandomFields"), "DESCRIPTION"), platform=platform)

But I got this error when run it:

Error in utils::download.file(url, path, method = download_method(), quiet = quiet,  : 
  cannot open URL 'https://sysreqs.r-hub.io/pkg/RandomFields-3.3.6,sp-1.3-1,RandomFieldsUtils-0.5.3,colorspace-1.4-1,RColorBrewer-1.1-2,mvtnorm-1.0-11,raster-3.0-7,tcltk2-1.2-11,tkrplot-0.0-24,spam-2.4-0,geoR-1.7-5.2.1,minqa-1.2.4,soma-1.1.1,optimx-2018-7.10,nloptr-1.2.1,pso-1.0.3,GenSA-1.1.7,reportr-1.3.0,dotCall64-1.0-0,splancs-2.01-40,lattice-0.20-38,Rcpp-1.0.2,numDeriv-2016.8-1.1,MASS-7.3-51.4,ore-1.6.3/linux-x86_64-ubuntu-gcc'
In addition: Warning message:
In utils::download.file(url, path, method = download_method(), quiet = quiet,  :
  cannot open URL 'https://sysreqs.r-hub.io/pkg/RandomFields-3.3.6,sp-1.3-1,RandomFieldsUtils-0.5.3,colorspace-1.4-1,RColorBrewer-1.1-2,mvtnorm-1.0-11,raster-3.0-7,tcltk2-1.2-11,tkrplot-0.0-24,spam-2.4-0,geoR-1.7-5.2.1,minqa-1.2.4,soma-1.1.1,optimx-2018-7.10,nloptr-1.2.1,pso-1.0.3,GenSA-1.1.7,reportr-1.3.0,dotCall64-1.0-0,splancs-2.01-40,lattice-0.20-38,Rcpp-1.0.2,numDeriv-2016.8-1.1,MASS-7.3-51.4,ore-1.6.3/linux-x86_64-ubuntu-gcc': HTTP status was '502 Bad Gateway'

Any idea why does this happen?

Thanks :)

I tried with other packages, it gives the same problem. Perhaps the server is down or something because I can't open https://sysreqs.r-hub.io/pkg properly

Update: sometimes it works, sometimes not. Most of the cases, the RandomFields one is not working, while the sf is working.

I get a similar error, which is preventing any R-hub tests. It looks like a bug in the construction of the URL, maybe paste(collapse=).

Error in utils::download.file(url, path, method = download_method(), quiet = quiet,  : 
  cannot open URL 'http://crandeps.r-pkg.org/deps/tidyxl,R,Rcpp,piton,Rcpp,testthat,here,knitr,rmarkdown,readxl,dplyr,tidyr,purrr,tibble,ggplot2,cellranger,openxlsx,rlang'