Re: [R] tests Rin Rout

From: Christophe Genolini <>
Date: Sun, 30 Mar 2008 20:54:05 +0200

> 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 that each time I change the code, I will have to change it twice, once in R/ and once in tests/
> If the code generates errors, your test will fail. If you want to
> see reports of changes to the output, also include
> tests/ with the known correct versions of the output.
What should the looks like ? I mean, what is the syntax of this file ?

Christophe mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Sun 30 Mar 2008 - 18:58:29 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 Sun 30 Mar 2008 - 21:30:28 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive