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

Anonymous functions work #163

Merged
merged 10 commits into from
Jan 26, 2021
Merged

Conversation

smingerson
Copy link
Contributor

(Partially?) closes #155. I could not recreate the other situations the issue author says sometimes did or did not work.

Prior to this change, anonymous functions fell into the default case of dt_squash(), which led to an error. Now, they are identified as function calls.

Added a simple test case, happy to add more if you think they are needed, such as testing use in mutate()/summarise()

Copy link
Member

@hadley hadley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good — could you please add a bullet to the top of NEWS.md? It should briefly describe the change and end with (@yourname, #issuenumber).

@hadley hadley merged commit 3bba40b into tidyverse:master Jan 26, 2021
@hadley
Copy link
Member

hadley commented Jan 26, 2021

Thanks @smingerson!

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.

Input error with sapply of anonymous function
2 participants