-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
add 'frame_data() (#804) #1358
add 'frame_data() (#804) #1358
Conversation
20b1551
to
727978b
Compare
Nice! Could you please add a bullet to NEWS? |
Just as you posted ;) |
Thanks! |
Constructing tables with more than two rows doesn't work for me (1405946): tbl <- dplyr::tibble(
~a, ~b,
"1", 1,
"1", 2,
"2", 1)
tbl
tbl <- dplyr::tibble(
~a, ~b,
"1", 1,
"1", 2,
"2", 2,
"2", 1)
tbl
tbl <- dplyr::tibble(
~a, ~b, ~Freq,
1, 1, 5,
1, 2, 6,
2, 2, 7,
2, 1, 8)
tbl
I have a failing test case in a branch. |
This needs better documentation. I’ve just read the above examples and the code and I still had no idea what this function actually does. Only once I read the fix in #1377 did it click. |
add 'frame_data() (tidyverse#804)
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
This PR implements the proposed
as a means of constructing
data_frame
.tibble
is also included as an alias, because it's too awesome a name not to use.