ropenblas icon indicating copy to clipboard operation
ropenblas copied to clipboard

Fails to generate the correct URL to download R

Open IdoBar opened this issue 1 year ago • 1 comments

Using the rcompiler() function to update and compile R fails with the following error:

Error in download.file(., destfile = glue("{path_r}/R-{x}.{extension}")) : 
  cannot open URL 'https://cloud.r-project.org/src/base/R-4/R-4.4.1.tar.xz.tar.gz'
Calls: <Anonymous> -> compiler_r -> download_r -> %>% -> download.file
In addition: Warning message:
In download.file(., destfile = glue("{path_r}/R-{x}.{extension}")) :
  cannot open URL 'https://cloud.r-project.org/src/base/R-4/R-4.4.1.tar.xz.tar.gz': HTTP status was '404 Not Found'

It seems that the URL is not generated properly. I'll try to dig in the code to see if I can come up with a pull request.

IdoBar avatar Jul 10 '24 03:07 IdoBar