prdm0 / ropenblas

Package to link R language to OpenBLAS library
https://prdm0.github.io/ropenblas/.
GNU General Public License v3.0
50 stars 5 forks source link

Fails to generate the correct URL to download R #38

Open IdoBar opened 3 months ago

IdoBar commented 3 months ago

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.

prdm0 commented 3 months ago

Dear @IdoBar thanks for the pull request. Sorry for the delay in responding.

I'll check.