Closed
Description
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"’