[R-pkg-devel] CRAN stable download url?
Zhian Kamvar
zkamvar at gmail.com
Thu Mar 8 21:51:35 CET 2018
You might try using MRAN snapshots: https://mran.revolutionanalytics.com/documents/rro/reproducibility#standard <https://mran.revolutionanalytics.com/documents/rro/reproducibility#standard>
For example:
https://cran.microsoft.com/snapshot/2018-01-01/src/contrib/yaml_2.1.16.tar.gz <https://cran.microsoft.com/snapshot/2018-01-01/src/contrib/yaml_2.1.16.tar.gz>
-----
Zhian N. Kamvar, Ph. D.
Postdoctoral Researcher (Everhart Lab)
Department of Plant Pathology
University of Nebraska-Lincoln
ORCID: 0000-0003-1458-7108
> On Mar 8, 2018, at 14:39 , Jonathon Love <jon at thon.cc> wrote:
>
> hi,
>
> i'm bundling some R packages to go into a flatpak/flathub application. for that it is necessary to provide the download URLs for all the required dependencies in advance - including R packages. this works, *except* when an R package version transitions from being the current version, to being archived.
>
> the current version will be, say:
>
> https://cran.r-project.org/src/contrib/yaml_2.1.16.tar.gz
>
> then when yaml 2.1.17 comes out (which it just has), that url will return a 404, and has become:
>
> https://cran.r-project.org/src/contrib/Archive/yaml/yaml_2.1.16.tar.gz
>
> this means everything breaks when a new version of an R package comes out.
>
> does anyone know if a stable url exists for R packages?
>
> with thanks
>
> jonathon
>
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <https://stat.ethz.ch/pipermail/r-package-devel/attachments/20180308/fe86c4a1/attachment.sig>
More information about the R-package-devel
mailing list