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

A nicer error if the value column doesn't exist #36

Closed
stefanfritsch opened this issue Oct 16, 2014 · 0 comments
Closed

A nicer error if the value column doesn't exist #36

stefanfritsch opened this issue Oct 16, 2014 · 0 comments

Comments

@stefanfritsch
Copy link

Hi,

I had a typo in the name of the value column and it led to the not especially enlightening error

Error in dim(ordered) <- c(attr(row_id, "n"), attr(col_id, "n")) : 
  attempt to set an attribute on NULL

It would be nice if you could fit in a stopifnot (or assertthat) somewhere along the way. :)

Thx
Stefan

Version: Current CRAN on R 3.1.1

@hadley hadley closed this as completed in ec272a9 Aug 24, 2015
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

No branches or pull requests

1 participant