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

From: Deepayan Sarkar <>
Date: Wed, 30 Jun 2010 13:35:07 +0530

On Wed, Jun 30, 2010 at 3:26 AM, Hadley Wickham <> 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 reproduced.

-Deepayan mailing list Received on Wed 30 Jun 2010 - 08:07:35 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