Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upChanges to `shift` cause backwards naming issues #3832
Comments
|
@jangorecki it's this line of code: with specific comment:
I think that makes more sense if there are mixed positive & negative |
This is totally related to #3223 and the new
shiftbehavior from #1708. I just want to point out that the new behavior caused some old code to break due to naming inconsistencies. I think the best option here is to adapt to usingtype = "shift"with negative values, but it definitely threw me for a loop.#Minimal reproducible example#Output of sessionInfo()R-3.5.1; data.table 1.12.2 & 1.11.8