[Rd] Tips for debugging: R CMD check examples

Hadley Wickham hadley at rice.edu
Wed Jun 30 15:34:29 CEST 2010


> Not a real tip, but when it occurs I immediately
> check for namespace issues (which often turn out
> to be the origin). Things I do are

I agree that namespace issues are often a problem, and are never easy
to diagnose - I often find that I've forgotten to export a method
definition so other code silently falls back on the default method and
leads to head scratching bugs.

Hadley


-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/



More information about the R-devel mailing list