Re: [Rd] uninformative error message in R CMD check (PR#9459)

From: Kurt Hornik <Kurt.Hornik_at_wu-wien.ac.at>
Date: Sun 21 Jan 2007 - 20:50:41 GMT

>>>>> charlie writes:

> I just saw the following using R version 2.4.1 (2006-12-18) in
> output from R CMD check.

> * checking Rd files ... WARNING
> Error in as.vector(x, mode) : invalid argument 'mode'
> Execution halted
> See the chapter 'Writing R documentation files' in manual 'Writing R
> Extensions'.

> In looking at the help page (the only one in the package so far) I noticed
> that there was no details section even though I wrote one. The problem
> was a missing close curly, that is, I had

> \details{
> Blah, blah, blah.
> \value{
> A list ....
> }

> I don't know whether it is possible to have an actually informative
> error message, but it would be nice if possible. The error went away
> and the package checked OK when I added the close curly

> \details{
> Blah, blah, blah.
> }
> \value{
> A list ....
> }

I can try, but I need a reproducible example.

For the examples with

\details{
  Bll bll bll.
\value{

etc I tried, I always got

-k



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon Jan 22 07:53:38 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 23 Jan 2007 - 08:31:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.