Support raw expressions in dcast(subset=) #4325#7789
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7789 +/- ##
=======================================
Coverage 98.85% 98.85%
=======================================
Files 87 87
Lines 17128 17133 +5
=======================================
+ Hits 16932 16937 +5
Misses 196 196 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
No obvious timing issues in HEAD=issue43255 Generated via commit 554ef50 Download link for the artifact containing the test results: ↓ atime-results.zip
|
|
thanks for this. dcast(DT, a ~ b, value.var="v", subset=a > 1)below would be simpler: dcast(DT[a>1], a ~ b, value.var="v")isn’t that equivalent? |
yah both are equivalent . my main intention was to improve the usability and consistency of teh existing |
|
ok I guess but during gsoc I would suggest working on other issues that would have more benefit for users… |
thanks ,got it ,i will take this into consideration next time . |

closess #4325
updated the logic to allow the
dcastto accept raw logical exprression insubset=in addition to the existing.()syntax for better consistency with base Rsubset().