-
Notifications
You must be signed in to change notification settings - Fork 129
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
Is new_tibble()
working as it should?
#330
Comments
Additionally, to satisfy the standards Hadley seems to be trying to set, maybe it should include See #275 |
Thanks. What a blunder... As for the checks, we'd need to define the responsibilities of |
From my interpretation of Advanced R, the constructors should only be involved in 3 things:
The checks for names and column length consistency might be better suited for a Reasoning: Would that make sense? |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary. |
Hey @krlmlr, I'm following the work on extending tibbles pretty closely and saw the
new_tibble()
function pop up in the commits.Playing around with it, it does not seem to work as expected.
I think it's due to the
map2
call. I can see that you are using a version that just callsMap
. Somehowlist(name = value)
is actually using"name"
as the name of the list element.I would submit a PR with a fix but I'm not entirely sure what you are trying to do. My first thought was:
The text was updated successfully, but these errors were encountered: