From hadley at rice.edu  Mon Aug 30 16:25:23 2010
From: hadley at rice.edu (Hadley Wickham)
Date: Mon, 30 Aug 2010 09:25:23 -0500
Subject: [Rd] NEWS and readNEWS
In-Reply-To: <19575.52226.64223.644872@fangorn.hornik.net>
References: <AANLkTinT4RMtwV20=+iw2V8rMMbJqa1yNDEG2myBzS2a@mail.gmail.com>
	<19575.52226.64223.644872@fangorn.hornik.net>
Message-ID: <AANLkTin7+pg0015hJPYLHLweu5eObFgGWs0fPcP1WmMn@mail.gmail.com>

>> ? * s.post <- " SERIES NEWS"
>> ? * s.pre <- "^[\t ]*CHANGES IN R VERSION "
>
>> Is this a bug or is the documentation incorrect?
>
> readNEWS() is really for such 3-level files, but then R itself will move
> to an 2-level Rd format in R 2.12.0.
>
> Use news() to read package news files.

Ah, ok, this is rather unclear from the current documentation.  So if
I want to read a NEWS file off disk to check that I have the right
format (without installing the package first), I should use
tools:::.build_news_db ?

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/



[Rd] NEWS and readNEWS
Hadley Wickham