[Rd] Tips for debugging: R CMD check examples

Deepayan Sarkar deepayan.sarkar at gmail.com
Wed Jun 30 10:05:07 CEST 2010

On Wed, Jun 30, 2010 at 3:26 AM, Hadley Wickham <hadley at rice.edu> wrote:
> Hi all,
> 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.

'R CMD check pkg' will produce a pkg.Rcheck/pkg-Ex.R file that
collects the examples into a single file (and also does other things).
You could try running that file interactively to see if the error is


More information about the R-devel mailing list