[R] Rd problems

kjetil@entelnet.bo kjetil at entelnet.bo
Fri Oct 17 21:28:40 CEST 2003


On 12 Oct 2003 at 21:45, Uwe Ligges wrote:

> kjetil at entelnet.bo wrote:
> > 
> > I am running
> > Rcmd check          (Windows XP, rw1080 from cran)
> > on a new package.
> > 
> > This reports "undocumented code objects" for 14 functions,
> > which all have their .Rd files!
> > 
> > What might be happening?
> 
> 1) You forgot to set an \alias{} (most probable)
> 2) There is another error in the Rd files 
> 3) There is a bug in R (less probable)
> 

It is 3). It was caused by one unmatched brace, but the Rcmd check 
did not comply about unmatched braces. The first few lines of the 
file had the structure
\name{aname}
\alias{anothername}
}   % this is the unmatced brace

.
.
.

Kjetil Halvorsen


> At first check points 1-2) from above, after that repeat the complete
> output of Rcmd check and provide a minimal version of one of your Rd
> files which does not work.
> 
> Uwe Ligges
> 
> 
> > Kjetil Halvorsen
> > 
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list