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 error message is cryptic when forced to cast duplicate rows without sufficient aggregation #693

ghost opened this Issue Jun 12, 2014 · 0 comments


None yet
1 participant

ghost commented Jun 12, 2014

The current error message is this:

Error in, as.formula(paste(class.col, "+",  : 
  retFirst must be integer vector the same length as nrow(i)

A replacement candidate recommended by Arun is this:

Error: fun.aggregate should return, for each unique group (from formula's LHS), 
  a length 1 vector, but returns length=2 for a group.

This SO thread has a reproducible example and background describing the issue.

@arunsrinivasan arunsrinivasan self-assigned this Jun 12, 2014

@arunsrinivasan arunsrinivasan added this to the v1.9.4 milestone Jun 19, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment