Conversation
Codecov Report
@@ Coverage Diff @@
## master #4445 +/- ##
=======================================
Coverage 99.54% 99.54%
=======================================
Files 76 76
Lines 14592 14611 +19
=======================================
+ Hits 14525 14544 +19
Misses 67 67
Continue to review full report at Codecov.
|
| @@ -896,39 +930,62 @@ SEXP gmax(SEXP x, SEXP narm) | |||
| break; | |||
| case REALSXP: | |||
There was a problem hiding this comment.
There's a TODO above:
// TODO rework gmax in the same way as gmin and remove this *update
I partially addressed that in this PR, only for the REALSXP case
| i64_default_min = suppressWarnings(min(as.integer64(NA), na.rm=TRUE)) | ||
| i64_default_max = suppressWarnings(max(as.integer64(NA), na.rm=TRUE)) |
There was a problem hiding this comment.
I would add tests for that as well so in case bit64 will change this behavior we will be notified
There was a problem hiding this comment.
good idea. actually it turns out they aren't warning, which differs from the equivalent base behavior. So the test is a bit wonky, WDYT?
Closes #4444