-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Can't pass additional arguments to group_modify() function #4509
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
Comments
I think there is indeed an issue in Lines 153 to 166 in ec09492
the I don't think the dots need to be passed in the second case and it should be chunks <- group_map(.tbl, fun, keep = keep) |
I experienced the same issue just now. @cderv, I came up with the same fix before coming to the issue, so I included both of our names in the NEWS file. |
Oh thanks ! I forgot about that one and forgot to do a PR 🤦♂ |
I have some code which seems to have broken since
group_map()
becamegroup_modify()
. Converting togroup_modify()
only partially resolves this as my function also requires additional arguments. Under the oldgroup_map()
my function received args passed in...
, but I get an error for the same function under the newgroup_modify()
.The docs indicate I should be able to do this:
Is this a regression, or am I doing something wrong?
The text was updated successfully, but these errors were encountered: