On Fri, Oct 25, 2013 at 11:09 PM, Hadley Wickham
<notifications@github.com>wrote:

> In R/reporter-list.r:
>
> > +  methods = list(
> > +    ### overriden methods from Reporter
> > +    start_reporter = function(...) {
> > +      callSuper(...)
> > +      results <<- list()
> > +      current_test_results <<- list()
> > +    },
> > +
> > +    start_test = function(desc) {
> > +      callSuper(desc)
> > +      current_test_results <<- list()
> > +      start_test_time <<- Sys.time()
> > +    },
> > +
> > +    end_test = function() {
> > +      elapsed <- as.double(Sys.time() - start_test_time, units='secs')
>
> Probably better to use proc.time() here
>
Why ?
What I want to report is the real elapsed time (including I/O). I know I
can get it using proc.time()[3], but is it better ?

Or do you want to report 3 times: user/system/real ? It would make perfect
sense.



> —
> Reply to this email directly or view it on GitHub<https://github.com/hadley/testthat/pull/98/files#r7228511>
> .
>