Re: [Rd] R CMD check: checking examples: how to (not) pause execution

2006-05-18 Thread Prof Brian Ripley
On Thu, 18 May 2006, Paul Gilbert wrote: > I think the more usual way to solve this is to have the user set > par(ask=TRUE) is they want to be prompted. This gives the user the option of > being prompted, or not. It makes the example tests work, and simplifies your > code because you don't need

Re: [Rd] R CMD check: checking examples: how to (not) pause execution

2006-05-18 Thread Paul Gilbert
I think the more usual way to solve this is to have the user set par(ask=TRUE) is they want to be prompted. This gives the user the option of being prompted, or not. It makes the example tests work, and simplifies your code because you don't need to worry about the prompt mechanism. It also pot

[Rd] R CMD check: checking examples: how to (not) pause execution

2006-05-18 Thread Lutz Prechelt
Hello all, trying to prepare my first package for submission to CRAN I am stumbling over the "checking examples" step of R CMD check. I have some examples that produce more than one plot. I currently separate those plot calls by readline("Press for a plot including a density plot") or some