Thanks. With help from Matthias I discovered that I was using the wrong
RUnit docs.
I was using the Nov. 25, 2009 paper by Matthias and two others instead of
the online RUnit package docs, where a more robust regular expression
appears.

On Thu, Apr 22, 2010 at 3:51 AM, Romain Francois
<rom...@r-enthusiasts.com>wrote:

> Le 22/04/10 02:19, Dominick Samperi a écrit :
>
>
>> There appears to be a bug in RUnit.
>>
>> Given a testsuite testsuite.math, say, when I run:
>>
>> runTestSuite(testsuite.math)
>>
>> this works fine, provided there are no extraneous files in the
>> unit test subdirectory.
>>
>> But if there are any Emacs temp files (with names that
>> end with '~') then runTestSuite gets confused and tries to
>> run functions from the temp files as well.
>>
>
> How do you define 'testsuite.math'. The default value of the testFileRegexp
> argument in defineTestSuite should rule these files out.
>
> Romain
>
> --
> Romain Francois
> Professional R Enthusiast
> +33(0) 6 28 91 30 30
> http://romainfrancois.blog.free.fr
> |- http://bit.ly/9aKDM9 : embed images in Rd documents
> |- http://tr.im/OIXN : raster images and RImageJ
> |- http://tr.im/OcQe : Rcpp 0.7.7
>
>

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to