Skip to content

Refactor plyr::rbind.fill --> dplyr::bind_rows#1386

Open
MichaelChirico wants to merge 1 commit intotopepo:masterfrom
MichaelChirico:bind-rows
Open

Refactor plyr::rbind.fill --> dplyr::bind_rows#1386
MichaelChirico wants to merge 1 commit intotopepo:masterfrom
MichaelChirico:bind-rows

Conversation

@MichaelChirico
Copy link
Copy Markdown
Contributor

Continuation of the series towards dropping {plyr} dependency: #1382, #1383, #1385.

There are some differences between these two functions, most notable that bind_rows() doesn't as happily coerce columns from non-character to character or non-list to list. I tried to document this a bit more extensively:

https://gist.github.com/MichaelChirico/8df9b42e0e42d32828b34a641d33dc8c

Lines commented with ### fail on one or the other package.

This PR passes the package's tests, so I am not sure they matter; I can write some more tests if you think it's appropriate.

It should also be highlighted that this switches {dplyr} from Suggests to Imports dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant