From murdoch at stats.uwo.ca  Mon Oct  5 21:18:42 2009
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Mon, 05 Oct 2009 15:18:42 -0400
Subject: [Rd] unit testing for R packages?
In-Reply-To: <6c35a4fc0910051201h23e61e39o55bf1de9809bfe29@mail.gmail.com>
References: <6c35a4fc0910051201h23e61e39o55bf1de9809bfe29@mail.gmail.com>
Message-ID: <4ACA4692.5080407@stats.uwo.ca>

On 10/5/2009 3:01 PM, Blair Christian wrote:
> Hi All,
> 
> I'm interested in putting some unit tests into an R package I'm
> building.  I have seen assorted things such as Runit library, svUnit
> library, packages
> with 'tests' directories, etc
> 
> I grep'd "unit test" through the writing R extensions manual but didn't find
> anything.  Are there any suggestions out there?  


Nothing very specific, but what there is is described in that manual in 
the discussion of the "tests" subdirectory.

Duncan Murdoch

Currently I have
> several (a lot?) classes/methods that I keep tinkering with, and I'd
> like to run a script frequently to check that I don't cause any
> unforeseen problems.
> 
> Right now I'm writing the classes/methods, but will be packaging it up soon.
> 
> Thx,
> Blair
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] unit testing for R packages?
Duncan Murdoch