Conversation
Codecov Report
@@ Coverage Diff @@
## master #4353 +/- ##
=======================================
Coverage 99.54% 99.54%
=======================================
Files 76 76
Lines 14612 14623 +11
=======================================
+ Hits 14545 14556 +11
Misses 67 67
Continue to review full report at Codecov.
|
|
Both before and after my changes, this PR turns on DT = data.table(x = 1:4)
> DT[c(1L, 5L, NA_integer_)]
x
<int>
1: 1
2: NA
3: NA
> DT[c(1L, 5L, NA_integer_), nomatch=NULL] # new behavior NEWS item mentions
x
<int>
1: 1
> DT[c(1L, 5L, NA_integer_), nomatch=0] # nomatch=0 can be used as well
x
<int>
1: 1The new tests don't cover So we don't want to open the door to folk starting to use The difficulty to overcome is that |
… ignored before, convert nomatch=0 to NULL instead of NULL to 0 in internals
… wasn't passed to convertNegAndZeroIdx at all)
|
Merging now to make progress. As always, everything is always open for discussion and reconsideration until release. |

closes #3109
closes #3666
also refactors code for better code coverage, thus is likely to get some failure for codcov check if any of those expanded lines were not covered before