Skip to content
Prev 30743 / 63424 Next

Warning: missing text for item ... in \describe?

On Mon, 1 Dec 2008, Berwin A Turlach wrote:

            
Well, the warning/errors always come out just before the file with the 
problem (unless you have stdout buffered and stderr not).  So finding 
which file does not seem so hard.

This *is* an error: nothing in the description allows whitespace between 
arguments to \item (nor \section).  It seems that only a few people 
misread the documentation (sometimes even after their error is pointed out 
to them).  What we can do is detect the error, and I am about to commit 
code in R-devel to do so.

Note that we don't have a complete description of the Rd language, but 
three partial parsers (Rdconv, tools::Rdparse and from R-devel, parseRd). 
If Duncan M's work on parseRd comes to fruition we may have a grammar and 
a parser, but it is likely to be for 'Rd2' format since no one wants to 
enshrine all the quirks of the current format.