-
Notifications
You must be signed in to change notification settings - Fork 131
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
bring error msg in line with allowed matrix/df cols as per #416 #465
Conversation
I've been staring at this message too, in my study of the name repair stuff. If you look at the tests that exercise this, the "bogus" columns are tibble/tests/testthat/test-data-frame.R Lines 21 to 35 in 997f5e2
|
Great idea, that makes this short and sweet. (Well or sour, actually, since it’s an error message). Do you think I should take another try at this? |
Thanks. Would "1d or 2d objects" be a sufficiently short and clear description? The error message needs to mention data frames anyway, they are treated differently from list columns. We should agree on the wording before doing further implementation work. |
I like the 1d/2d distinction a lot because (if you get it) it explains why which objects work and which don’t (they need to be vectors of equal length or nrows). |
Sounds good to me. |
Codecov Report
@@ Coverage Diff @@
## master #465 +/- ##
=======================================
Coverage 90.83% 90.83%
=======================================
Files 26 26
Lines 1080 1080
=======================================
Hits 981 981
Misses 99 99
Continue to review full report at Codecov.
|
done! |
Thanks! |
Since matrix/df columns are now allowed, maybe this error msg should be changed accordingly, as well as respective tests.
Didn't mention df's explicitly, because those are, after all, lists.