Most, if not all, of the recipes for R packages uses a URL that like https://cran.r-project.org/src/contrib/${{ name[2:] }}_${{ version }}.tar.gz. For example,
|
- https://cran.r-project.org/src/contrib/${{ name[2:] }}_${{ version }}.tar.gz |
and
|
- https://cran.r-project.org/src/contrib/${{ name[2:] }}_${{ version }}.tar.gz |
The problem with this URL is that it is only valid for the latest release of a R package. For example, before 24 March 2026 the URL https://cran.r-project.org/src/contrib/fs_1.6.6.tar.gz was valid but now it returns 404 not found.
To make recipes more resilient, I would like to change the URL from
https://cran.r-project.org/src/contrib/${{ name[2:] }}_${{ version }}.tar.gz
to
https://cran.r-project.org/src/contrib/Archive/${{ name[2:] }}/${{ name[2:] }}_${{ version }}.tar.gz
@IsabelParedes what do you think?
Most, if not all, of the recipes for R packages uses a URL that like
https://cran.r-project.org/src/contrib/${{ name[2:] }}_${{ version }}.tar.gz. For example,recipes/recipes/recipes_emscripten/r-dplyr/recipe.yaml
Line 11 in 03b7e0f
recipes/recipes/recipes_emscripten/r-yaml/recipe.yaml
Line 11 in 03b7e0f
The problem with this URL is that it is only valid for the latest release of a R package. For example, before 24 March 2026 the URL https://cran.r-project.org/src/contrib/fs_1.6.6.tar.gz was valid but now it returns 404 not found.
To make recipes more resilient, I would like to change the URL from
to
@IsabelParedes what do you think?