From ripley at stats.ox.ac.uk  Thu Jun 24 15:59:45 2004
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu Jun 24 15:59:50 2004
Subject: [Rd] news file included in source but not binary package
In-Reply-To: <3A822319EB35174CA3714066D590DCD504AF7F68@usrymx25.merck.com>
Message-ID: <Pine.LNX.4.44.0406241459060.10212-100000@gannet.stats>

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


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