search for: pkgurl

Displaying 3 results from an estimated 3 matches for "pkgurl".

Did you mean: bugurl
2018 Nov 02
2
Suggestion: Make CRAN source URLs immutable
On Wed, 24 Oct 2018 at 11:40, Kurt Hornik <Kurt.Hornik at wu.ac.at> wrote: > > >>>>> Kurt Wheeler writes: > > Try e.g. > > https://cran.r-project.org/package=httr&version=1.3.1 > https://cran.r-project.org/package=httr&version=1.3.0 This is a nice feature that I didn't know. I recently proposed enforcing this scheme in Fedora's packaging
2018 Nov 03
0
Suggestion: Make CRAN source URLs immutable
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&version=1.3.0" library(RCurl) pkgurl <- gsub(".*(https://cran.+\\.tar.gz).*", "\\1", getURL(url)) install.packages(pkgurl, type = "source", repos = NULL) Cheers Joris On Fri, Nov 2, 2018 at 5:42 PM I?aki Ucar <iucar at fedoraproject.org> wrote: > On Wed, 24 O...
2018 Nov 03
1
Suggestion: Make CRAN source URLs immutable
...om> 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&version=1.3.0" > > library(RCurl) > > pkgurl <- gsub(".*(https://cran.+\\.tar.gz).*", > "\\1", > getURL(url)) > > install.packages(pkgurl, type = "source", repos = NULL) The proper way to do this would be to fetch just the headers and extract the location field: $ UR...