Skip to content
Prev 6307 / 12125 Next

[R-pkg-devel] help interpreting a response from CRAN

Thanks all for the help.  The reward (as usual) is another dumb 
question.

If I add up the elapsed times listed in

https://win-builder.r-project.org/incoming_pretest/lme4_1.1-26_20201122_184744/Windows/examples_and_tests/examples_x64/lme4-Ex.timings

   I get 21.43 seconds.  But the output in

https://win-builder.r-project.org/incoming_pretest/lme4_1.1-26_20201122_184744/Windows/00check.log

says

** running examples for arch 'x64' ... [41s] OK

  The values for i386 have a similar discrepancy (20.6 vs 36s).  I can 
appreciate that would be a bit of overhead (and rounding error), but ... 
? (there are a total of 61 examples)

   I wouldn't normally worry about the discrepancy, but I'm doing my 
best to shave seconds where I can ...  can anyone see any obvious thinkos?

   I might as well add (in my partial defense, in response to Uwe's 
point about not needing real-world/big examples for tests); many of 
lme4's tests are regression tests of edge cases that came up in the real 
world with moderately sized data sets.  *In principle* it might be 
possible to find a way to reduce those medium-sized problems to small, 
fast problems that still demonstrated the same numerical problems, but 
it's hard and time-consuming (at least for me) ...

   cheers
     Ben Bolker
On 11/22/20 4:06 PM, Uwe Ligges wrote: