Greg Snow a écrit :
Just wrap the example in either \dontrun{} or
if(interactive()){
}
Thanks. Your solution gives me an other idea :
try(myFunction) works as well.
Christophe
That way that example will be skipped when the automatic tests are done, but
will still be available for a read
Also any demos in the demo directory will be skipped by
the automated checks.
On Tue, Feb 17, 2009 at 12:01 PM, Greg Snow wrote:
> Just wrap the example in either \dontrun{} or
> if(interactive()){
>
> }
>
> That way that example will be skipped when the automatic tests are done, but
> will stil
Just wrap the example in either \dontrun{} or
if(interactive()){
}
That way that example will be skipped when the automatic tests are done, but
will still be available for a reader to run by copy/paste or the examples
function (2nd case above).
This has worked for me, examples using these are