Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect keying of by= results involving functions of keys #6708

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

MichaelChirico
Copy link
Member

Closes #5583.

In principal this could be a breaking change for some user that has by = .(a = foo(a)) where a is the key and foo() is weakly increasing.

If we find any such case in revdeps, I will bump this change to 1.18.0 (there is a known workaround for the bug, i.e. use keyby=, and the bug appears to have taken quite some time to surface) and push the breaking change in next release. As a breaking change, the fix is also trivial (switch to keyby=).

Copy link

codecov bot commented Jan 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.61%. Comparing base (70c64ac) to head (5c98a77).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6708   +/-   ##
=======================================
  Coverage   98.61%   98.61%           
=======================================
  Files          79       79           
  Lines       14553    14564   +11     
=======================================
+ Hits        14352    14363   +11     
  Misses        201      201           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Jan 4, 2025

Comparison Plot

Generated via commit 5c98a77

Download link for the artifact containing the test results: ↓ atime-results.zip

Task Duration
R setup and installing dependencies 4 minutes and 58 seconds
Installing different package versions 7 minutes and 53 seconds
Running and plotting the test cases 2 minutes and 20 seconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using a function inside by causes troubles
1 participant