[Rd] Mis-matched braces in Rd files (PR#1019)

murdoch@stats.uwo.ca murdoch@stats.uwo.ca
Tue, 10 Jul 2001 21:50:24 +0200 (MET DST)


This is related to the wishlist item 856 that Paul Gilbert submitted.

If there's a missing closing brace, a whole section can silently
disappear.  It would be nice if the help parser (or CHECK) checked for
matching braces in help files, and reported an error when they don't
match over the whole file, or when one section is started within
another one.

For example:

\name{test}
\alias{test}
\title{test}
\description{
This whole section will go missing, because I forgot
to close a brace on this reference:  \code{\link{test}

There may be more text afterwards, which wasn't supposed to
be included in the "code" section, but will be because of my
oversight; the next brace is supposed to close the description, but
leaves it open. When the parser sees "author", it forgets all about
this whole section.
}

\author{ Duncan Murdoch }

\keyword{test}



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._