From hadley at rice.edu  Wed Jun 30 15:34:29 2010
From: hadley at rice.edu (Hadley Wickham)
Date: Wed, 30 Jun 2010 08:34:29 -0500
Subject: [Rd] Tips for debugging: R CMD check examples
In-Reply-To: <4C2AF368.8090803@openanalytics.eu>
References: <AANLkTilQ9vYlaqXLQTeFjVfvzuQRsZ1uEX5x9_3EtI5D@mail.gmail.com> 
	<4C2AF368.8090803@openanalytics.eu>
Message-ID: <AANLkTimki5vqzNT5aYFUIrLIC3-LehFw6KrguCLfKDq_@mail.gmail.com>

> 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/



[Rd] Tips for debugging: R CMD check examples
Hadley Wickham