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
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 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). Best, Uwe Ligges> > Thanks, > Whit > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
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, "Whit Armstrong" <armstrong.whit at gmail.com> 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? > >Thanks, >Whit > >______________________________________________ >R-devel at r-project.org mailing list >https://stat.ethz.ch/mailman/listinfo/r-devel