Re: [Rd] Suggestion: Make CRAN source URLs immutable

2018-11-04 Thread Juan Telleria Ruiz de Aguirre
It would be nice to see such immutable package version links: E.g.: https://cran.r-project.org/package=httr=1.3.1 https://cran.r-project.org/package=httr=1.3.0 In the CRAN package web pages themselves, and specifically in the "Old Sources: httr Section":

Re: [Rd] Suggestion: Make CRAN source URLs immutable

2018-11-03 Thread Iñaki Ucar
On Sat, 3 Nov 2018 at 11:54, Joris Meys wrote: > > FWIW, you can get the URL and extract the link with extension from there. > Archived packages are always tarballs, so that makes the following possible: > > url <- "https://cran.r-project.org/package=httr=1.3.0; > > library(RCurl) > > pkgurl <-

Re: [Rd] Suggestion: Make CRAN source URLs immutable

2018-11-03 Thread Joris Meys
FWIW, you can get the URL and extract the link with extension from there. Archived packages are always tarballs, so that makes the following possible: url <- "https://cran.r-project.org/package=httr=1.3.0; library(RCurl) pkgurl <- gsub(".*(https://cran.+\\.tar.gz).*", "\\1",

Re: [Rd] Suggestion: Make CRAN source URLs immutable

2018-11-02 Thread Iñaki Ucar
On Wed, 24 Oct 2018 at 11:40, Kurt Hornik wrote: > > > Kurt Wheeler writes: > > Try e.g. > > https://cran.r-project.org/package=httr=1.3.1 > https://cran.r-project.org/package=httr=1.3.0 This is a nice feature that I didn't know. I recently proposed enforcing this scheme in Fedora's

Re: [Rd] Suggestion: Make CRAN source URLs immutable

2018-10-24 Thread Kurt Hornik
> Kurt Wheeler writes: Try e.g. https://cran.r-project.org/package=httr=1.3.1 https://cran.r-project.org/package=httr=1.3.0 -k > Hello, I hope the is the right list to send this suggestion to. > I was wondering if it might be possible to have CRAN store the most current > version of a

[Rd] Suggestion: Make CRAN source URLs immutable

2018-10-24 Thread Kurt Wheeler
Hello, I hope the is the right list to send this suggestion to. I was wondering if it might be possible to have CRAN store the most current version of a package's source tarball at a location that does not change. As an example, the source tarball for `httr` is stored at