[Rd] including additional packages in Recommended

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Apr 15 20:48:35 CEST 2008


Look in share/make/vars.mk.  BASE means base, not recommended, believe it 
or not.  You would need to add to R_PKGS_RECOMMENDED_SOURCES and 
R_PKGS_RECOMMENDED.

On Tue, 15 Apr 2008, Sundar Dorai-Raj wrote:

> Hi, R-devel,
>
> I'm trying to create a modified distribution of R to include several
> packages are not part of the CRAN version. I.e. When I untar
> R-2.6.2.tar.gz I would like to include my package "foo_1.0-0.tar.gz" in
> 'src/library/Recommended' so that when a user builds my version of R
> they also get my package and don't have to explicitly do
> install.packages. I searched the archives looking at ways to change the
> Makefile in 'src/library' but came up empty. I suspect the change has to
> do with $R_PKGS_BASE though I'm unsure.

We don't encourage it.  We do describe how to do this for the Windows 
installer , but on a Unix-alike you can just use a wrapper script to 
install R and then run 'R CMD INSTALL foo_1.0-0.tar.gz'.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list