Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Failed to Use sysreqs for RandomFields's Description #12

Open
ismailsunni opened this issue Nov 6, 2019 · 3 comments
Open

Failed to Use sysreqs for RandomFields's Description #12

ismailsunni opened this issue Nov 6, 2019 · 3 comments

Comments

@ismailsunni
Copy link

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 :)

@ismailsunni
Copy link
Author

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

@ismailsunni
Copy link
Author

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

@nacnudus
Copy link

nacnudus commented Mar 20, 2020

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'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants