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 reader to run by copy/paste or the examples
function (2nd case above).
This has worked for me, examples using these are playSudoku in the sudoku
package and dynIdentify in TeachingDemos.
Hope this helps,
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel