[R] More problems checking an R package

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Nov 19 11:14:30 CET 2004


michael watson (IAH-C) wrote:
> Hi
> 
> I am having a few more miscellaneous problems when I run R CMD check on
> my package.
> 
> All of the early stuff works OK.  I get a WARNING at the "checking S3
> generic/method consistency" stage, where it seems to think two of my
> fucntions are inconsistent with plot() (I don't understand why it thinks
> that).
> 
> I then get another WARNING indicating that I have an undocumented data
> set called ".Traceback", but I can't find anything called .Traceback on
> my entire system.
> 
> Finally, all my examples run fine, all my Latex is checked and that's
> OK, and I get:
> 
> * creating mypackage-manual.tex ... OK
> * checking mypackage-manual.tex ... ERROR
> LaTeX errors when creating DVI version.
> This typically indicates Rd problems.

See the log file in the check directory, it shows where the error comes 
from.


> This is in contrast to the first line of the output which states:
> 
> * checking for working latex ... OK
> 
> So I'm kind of stuck here.  I'd like to ask if there is something I can
> use to check my Rd files WITHOUT having to run the examples, as the
> examples all take about 30 minutes to run, and so it's not a quick
> bug-tracking cycle...

R CMD check --help  tells you:

R CMD check --no-examples .....

Uwe Ligges


> Any ideas, comments welcome!
> 
> Thanks
> Mick
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list