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

Use let() in mutate() calls #482

Open
markfairbanks opened this issue Dec 9, 2024 · 0 comments
Open

Use let() in mutate() calls #482

markfairbanks opened this issue Dec 9, 2024 · 0 comments
Labels
feature a feature request or enhancement

Comments

@markfairbanks
Copy link
Collaborator

We currently do this

dt[, `:=`(double_x = x * 2)]

Which is now more cleanly expressed as

dt[, let(double_x = x * 2)]
@markfairbanks markfairbanks added the feature a feature request or enhancement label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant