Re: [Rd] seeing feedback when R CMD check pkg runs unit tests.

2012-03-03 Thread Mario Frasca
On Fri, 02 Mar 2012 12:15:48 -0500 pgilbert902 at gmail.com (Paul Gilbert) wrote: > Mario > > [...] Examples only need to run, but in tests/ you can > do things like > > if( 2*2 != 4 ) stop("arithmatic is messed up.") > problem is: when you do a stop, you stop, meaning you do not run subsequen

[Rd] seeing feedback when R CMD check pkg runs unit tests.

2012-03-02 Thread Mario Frasca
good day here, I'm maintaining a couple of R modules, both on r-forge. tests for these modules are written making use of unit testing, and I make use of the svUnit module, part of SciViews-R. I also make use of examples in the .Rd files. my question regards 'R CMD check pkg'. if an _example_ i