[Rd] Tips for debugging: R CMD check examples

Gavin Simpson gavin.simpson at ucl.ac.uk
Wed Jun 30 09:58:50 CEST 2010

[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] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk

More information about the R-devel mailing list