unit testing for R packages?
On Mon, Oct 5, 2009 at 7:00 PM, hadley wickham <h.wickham at gmail.com> wrote:
On Mon, Oct 5, 2009 at 8:48 PM, Peter Cowan <cowan.pd at gmail.com> wrote:
On Mon, Oct 5, 2009 at 5:44 PM, hadley wickham <h.wickham at gmail.com> wrote:
Now, as Seth already told, there are several functions in svUnit that ease interactive use of the tests in an R session. What he did not told is that RUnit has some nice code coverage functions that svUnit does not have.
What are those? I've skimmed through the documentation and couldn't see anything?
The R wiki has information about both RUnit and svUnit. ?I'm not sure that it details all of the differences. ?I have successfully used the methodology of the gdata package described there.
Sorry, I should have been more explicit. ?I was interested particularly in the code coverage functions.
Those are the inspect and tracker functions of the RUnit package. I've only played with these functions, how do other developers use them?
Hadley