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

From: Gavin Simpson <>
Date: Wed, 30 Jun 2010 08:58:50 +0100

[Apologies for breaking the thread, I deleted the message before starting this reply]

Dear Hadley,

R CMD check produces a foo-Ex.R file where foo is the package name. You could start by sourcing that file in R --vanilla and see where it fails and also use standard debugging tools in R from there (i.e. drop into a debugger on error).



Dr. Gavin Simpson [t] +44 (0)20 7679 0522 ECRC, UCL Geography, [f] +44 (0)20 7679 0565 Pearson Building, [e] Gower Street, London [w] UK. WC1E 6BT. [w]
______________________________________________ mailing list
Received on Wed 30 Jun 2010 - 08:02:32 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:41:28 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive