Conversation
Codecov Report
@@ Coverage Diff @@
## master #5203 +/- ##
=======================================
Coverage 99.51% 99.51%
=======================================
Files 77 77
Lines 14529 14536 +7
=======================================
+ Hits 14458 14465 +7
Misses 71 71
Continue to review full report at Codecov.
|
They could, but they shouldn't. If it doesn't crash and even then produces the correct result, then it's 1 in 100 luck. The I know a few users look at and search On these errors you're trying to cover : that |
Follow up to #5192 and related to #4301 (comment)
AFAIU the
nrow != lengtherror occurs if the passedgrpsizetogforcediffers from the length of the object passed to thegfunctionitself. Since thegfunctions themselves are only called internally after internal gforce optimization happening, this should never happen internally. However, users could still try to calldata.table:::gsumon their own which might even work for some cases, e.g.I'm not sure if exposing the gforce functions at the beginning of
tests.Rrawis a good idea but only other option I can think of is to parse them later withdata.table:::which contradicts