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

Roger D. Peng rpeng at jhsph.edu
Thu Jun 24 15:54:49 CEST 2004

I think you need to put it in the inst/ subdirectory.


Liaw, Andy wrote:
> Dear R-devel,
> 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?
> Best,
> Andy
> Andy Liaw, PhD
> Biometrics Research      PO Box 2000, RY33-300     
> Merck Research Labs           Rahway, NJ 07065
> mailto:andy_liaw at merck.com        732-594-0820
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Roger D. Peng

More information about the R-devel mailing list