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
unnest removes rsample attributes
#688
Comments
|
I haven't fully thought it through, but what would be the implications of calling tidyr/tests/testthat/test-spread.R Line 219 in 7a94d1c
|
|
I was planning on waiting for r-lib/vctrs#211, rather than continuing to build up hacks in tidyr. |
|
@DavisVaughan can you please follow up (from the rsample side) on the comments in #812? |
|
@DavisVaughan can you work around this without any tidyr changes? It might make more sense for tidyr to use the dplyr generics, which would mean we couldn't fix in this release. |
|
Actually, I'm confident that you can — if you think preserving these attributes is important, you can just provide an |
|
Yea I'll do it today |
|
After looking at this, IMO unnested @IndrajeetPatil The |
|
I agree that |
I am not sure if this is intended behavior, but
rsample+tidyr::unnest()workflow doesn't seem to work.Let's say I want to calculate bootstrap confidence intervals for
lmmodel usingrsample.Without unnesting the list column, everything works as expected-
But if I
unnestthe tidy output frombroomwhile preserving everything else fromrsample, thersetattribute is removed-Is
unnestsupposed to remove all other attributes save for"tbl_df","tbl","data.frame"?Created on 2019-07-24 by the reprex package (v0.3.0)
Session info
The text was updated successfully, but these errors were encountered: