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 of 2 sumarise in a row cause a crash #212

Closed
trinker opened this issue Jan 25, 2014 · 2 comments
Closed

Use of 2 sumarise in a row cause a crash #212

trinker opened this issue Jan 25, 2014 · 2 comments

Comments

@trinker
Copy link

trinker commented Jan 25, 2014

See this question for details.

Basically calling:

orth_df <- tbl_df(mtcars)

orth_df %.%
    group_by(cyl) %.%
    summarise(Procs = length(am)) %.%
    summarise(SSIs = sum(hp))

causes the crash. Not the way dplyr was intended to be used but it seems a crash means something that ought to be looked at.

@romainfrancois
Copy link
Member

I believe this was fixed in #208 . Can you please check and close the issue if it is fixed. Also we don't have data, so we can't reproduce your example. Please send us a self contained reproducible example for future issues.

@trinker
Copy link
Author

trinker commented Jan 25, 2014

I think it is fixed as it now throws an error saying:

> orth_df <- tbl_df(mtcars)
> 
> orth_df %.%
+     group_by(cyl) %.%
+     summarise(Procs = length(am)) %.%
+     summarise(SSIs = sum(hp))
Error: binding not found: 'hp'

@trinker trinker closed this as completed Jan 25, 2014
@lock lock bot locked as resolved and limited conversation to collaborators Jun 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants