I use svUnit, too.
I put a kind of standard skeleton into my packages that has a
packagename.unittest () function that will run all svUnit tests (if
svUnit is available). This function returns NA if svUnit is not
available, invisible (TRUE) if all tests are passed and stops
otherwise. Which will
svUnit - is Runit compatible and provides some IDE integration and report
generation and easy syntax for defining tests.
I find it works a treat, and fits very nicely with my R coding/packaging
style (which also uses inlinedocs for easy package creation).
--Malcolm Cook
On 5/17/12 9:10 AM, "Wh
On 17.05.2012 17:56, Matthew Dowle wrote:
Uwe Ligges statistik.tu-dortmund.de> writes:
On 17.05.2012 16:52, Brian G. Peterson wrote:
On Thu, 2012-05-17 at 16:32 +0200, Uwe Ligges wrote:
Yes: R CMD check does the trick. See Writing R Extension and read
about a package's test directory. I p
Uwe Ligges statistik.tu-dortmund.de> writes:
>
> On 17.05.2012 16:52, Brian G. Peterson wrote:
> > On Thu, 2012-05-17 at 16:32 +0200, Uwe Ligges wrote:
> >> Yes: R CMD check does the trick. See Writing R Extension and read
> >> about a package's test directory. I prefer frameworks that do not
> >
On 17.05.2012 16:52, Brian G. Peterson wrote:
On Thu, 2012-05-17 at 16:32 +0200, Uwe Ligges wrote:
Yes: R CMD check does the trick. See Writing R Extension and read
about a package's test directory. I prefer frameworks that do not
obfuscate failing test results on the CRAN check farm (as most
On Thu, 2012-05-17 at 16:32 +0200, Uwe Ligges wrote:
> Yes: R CMD check does the trick. See Writing R Extension and read
> about a package's test directory. I prefer frameworks that do not
> obfuscate failing test results on the CRAN check farm (as most other
> frameworks I have seen).
Uwe: I don
On 17.05.2012 16:10, Whit Armstrong wrote:
Can anyone share some opinions on test suites for R packages?
I'm looking at testthat and RUnit. Does anyone have strong opinions on
either of those.
Any additional packages I should consider?
Yes: R CMD check does the trick. See Writing R Extensio
Can anyone share some opinions on test suites for R packages?
I'm looking at testthat and RUnit. Does anyone have strong opinions on
either of those.
Any additional packages I should consider?
Thanks,
Whit
__
R-devel@r-project.org mailing list
https:/