Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Informative error message for as_tibble() when rownames is missing #388
Question: I wanted the error message to mention the object name, i.e. "Object my_matrix does not have existing row names"). However, I can't get
I think that this happens because when the expression goes through the generic function, the promise is already evaluated and can no longer be captured once it reaches
If so, how can we capture the user-submitted expression?
@@ Coverage Diff @@ ## master #388 +/- ## ========================================== + Coverage 90.39% 90.42% +0.02% ========================================== Files 23 23 Lines 1083 1086 +3 ========================================== + Hits 979 982 +3 Misses 104 104
Furthermore, the same reported bug also happens to data frame, not just matrices.
The current behavior is wrong in 2 ways: