Re: [Rd] Tips for debugging: R CMD check examples

From: Tobias Verbeke <tobias.verbeke_at_openanalytics.eu>
Date: Wed, 30 Jun 2010 09:34:00 +0200

On 06/29/2010 11:56 PM, Hadley Wickham wrote:

> Does anyone have any suggestions for debugging the execution of
> examples by R CMD check? The examples work fine when I run them from
> a live R prompt, but I get errors when they are run by R CMD check.

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

Agreed this is a very indirect way, but at times faster than trying to interpret the error message.

Best,
Tobias



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 30 Jun 2010 - 07:38:00 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 30 Jun 2010 - 13:51:31 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.

list of date sections of archive