Skip to content

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

@stefanfritsch

Description

@stefanfritsch

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions