Implement pivot_longer() - #204
Conversation
hadley
left a comment
There was a problem hiding this comment.
Looks great, thanks! A few minor comments/questions below.
|
In hindsight of making |
|
When I document this locally, I don't get the |
|
I was actually running into the same thing when I just tried, but it looks like you just have to run |
|
Ah of course; and that never happens for me because I always run in a clean session. |
|
Used a hack from @gaborcsardi to always attach tidyr when documenting. |
|
Thanks! |
A few notes:
vec_cast()toadd_dt_wrappers()- I wasn't sure if there was a different way you'd rather add that.pmap_chr()taken from rlang'scompat-purrr.Rfile for use instr_extract()to avoid a purrr dependency.