[R] tests Rin Rout

2008-03-30 Thread Christophe Genolini
Hi the list, Some rumour (!) say that is it possible to prepare some tests for checking our code using .Rin and .Rout. It seems to be a very good practice, but I did not manage to find information on it. So does someone know how it works ? What are we suppose to write in Rin ? More precisely :

Re: [R] tests Rin Rout

2008-03-30 Thread Duncan Murdoch
On 30/03/2008 10:44 AM, Christophe Genolini wrote: Hi the list, Some rumour (!) say that is it possible to prepare some tests for checking our code using .Rin and .Rout. It seems to be a very good practice, but I did not manage to find information on it. So does someone know how it works

Re: [R] tests Rin Rout

2008-03-30 Thread Christophe Genolini
See the paragraph in Writing R Extensions which explains this Well, I saw it again and again (before asking on the r-help) but I do not understand. Same for the Kurt Hornik slides on the web. Create tests/myPack.R with those lines in it plus lines to actually run the code. Does it mean

Re: [R] tests Rin Rout

2008-03-30 Thread Duncan Murdoch
For questions like this about package development, you should ask on R-devel, but I'll continue the thread here for one more message. On 30/03/2008 2:54 PM, Christophe Genolini wrote: See the paragraph in Writing R Extensions which explains this Well, I saw it again and again (before asking on