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

Summarise columns are not immediately available #20

Closed
nathaneastwood opened this issue May 10, 2020 · 0 comments
Closed

Summarise columns are not immediately available #20

nathaneastwood opened this issue May 10, 2020 · 0 comments
Labels
feature request New feature or request
Milestone

Comments

@nathaneastwood
Copy link
Owner

Take the following code as an example

d <- data.frame(x = 1:4)
res <- d %>%
  summarise(y = sum(x), z = y + 2)
# Error in eval(substitute(expr), data, enclos = parent.frame()) : 
#  object 'y' not found

In dplyr this works fine and returns z as expected.

@nathaneastwood nathaneastwood added the feature request New feature or request label May 10, 2020
@nathaneastwood nathaneastwood added this to the 0.2.1 milestone May 10, 2020
@nathaneastwood nathaneastwood removed this from the 0.2.1 milestone Jun 10, 2020
@nathaneastwood nathaneastwood added this to the 0.2.5 milestone Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant