[Rd] news file included in source but not binary package

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Jun 24 15:59:45 CEST 2004


Use the inst directory - it's documented in Writing R Extensions, and has 
lots of examples on CRAN.

On Thu, 24 Jun 2004, Liaw, Andy wrote:

> I've noticed that when I place a `NEWS' file in the top-level directory for
> a package, then do R CMD build mypkg, the file gets included in the .tar.gz
> file.  However, if I do R CMD build --binary mypkg, the `NEWS' file does not
> get included in the .zip file.  Is this intentional?  Is there a way I can
> get such a file included in the pre-compiled package automatically?


-- 
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