tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Default master sites for R packages



Hi,

as maintainer of some R addons I found that the most frequent reason
for package breakage is outdated libraries: as soon as a new version
released the old tarball is moved to archive -
http://cran.r-project.org/src/contrib/Archive/.

Analysis of existent R libraries shows that almost all of them are
using default path:

$ grep -rl '/R/Makefile.extension' pkgsrc \
> | xargs sed -En 's/^MASTER_SITES=[[:space:]]+//p' | sort | uniq -c
  64 ${MASTER_SITE_R_CRAN:=contrib/}
   1 http://stats.math.uni-augsburg.de/Rserve/dist/
   1 http://www.bioconductor.org/packages/2.10/bioc/src/contrib/
   3 http://www.bioconductor.org/packages/release/bioc/src/contrib/

(Please note that the bioconductor packages are maintained by me.)

The math/R/Makefile.extension already has MASTER_SITES predefined with
exactly the first line from the list. Therefore, I'd like to set it to
the following defaults and drop all MASTER_SITES from existent packages:

MASTER_SITES?=  ${MASTER_SITE_R_CRAN:=contrib/}         \
                ${MASTER_SITE_R_CRAN:=contrib/Archive/}

Any objections?

--
Mishka.



Home | Main Index | Thread Index | Old Index