Re: [Rd] odd NOTE in R CMD check of data; Rcpp module related

2018-11-03 Thread Dirk Eddelbuettel
Robert, On 3 November 2018 at 10:29, Robert J. Hijmans wrote: | With the current version of the "raster" package (that I maintain), R CMD | check on packages "soilDB" and "PopGenReport" have this NOTE: | | Package: soilDB | Check: data for non-ASCII characters | New result: NOTE | Error in

[Rd] odd NOTE in R CMD check of data; Rcpp module related

2018-11-03 Thread Robert J. Hijmans
With the current version of the "raster" package (that I maintain), R CMD check on packages "soilDB" and "PopGenReport" have this NOTE: Package: soilDB Check: data for non-ASCII characters New result: NOTE Error in .requirePackage(package) : unable to find required package 'raster' C

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&version=1.3.0"; > > library(RCurl) > > pk

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&version=1.3.0"; library(RCurl) pkgurl <- gsub(".*(https://cran.+\\.tar.gz).*", "\\