Skip to content

error handling select #643

Closed
Closed
@momeara

Description

@momeara

Would it be possible to give a more informative error message here?

> z <- "abcdef"
> select(data_frame(x=c(1,2,3)), z)
Error in abs(ind[ind < 0]) :
   non-numeric argument to mathematical function

Also for

> data_frame(x=c(1,2,3)) %>% filter(F) %>% select(x)
Error in (function (classes, fdef, mtable) :
  unable to find an inherited method for function ‘select’ for signature ‘"data.frame"’

Metadata

Metadata

Assignees

Labels

bugan unexpected problem or unintended behavior

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions