[R] Test suites
Liaw, Andy
andy_liaw at merck.com
Mon Feb 24 22:06:26 CET 2003
Perhaps the best way to do this is to make up an R package. The "Writing R
Extensions" manual has discussions on how to set up test codes. There are
also examples in some packages that shipped with R itself. Look in the
`check' subdirectory of packages under .../R-1.6.2/src/library.
Andy
> -----Original Message-----
> From: Giles Heywood [mailto:giles.heywood at btinternet.com]
> Sent: Monday, February 24, 2003 3:48 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Test suites
>
>
> I have a collection of functions, class definitions and
> methods which I
> would like to test systematically for their correctness after
> changes to
> their code, and also after major R revisions. I believe that
> the correct
> term for these systematic tests (as opposed to more informal
> tests) is a
> 'test suite'. Does anyone [apart from Pat Burns :-) ] have code, or
> templates, or specific suggestions for the best approach to
> constructing
> test suites?
>
> Thanks in advance
>
> Giles Heywood
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
------------------------------------------------------------------------------
More information about the R-help
mailing list