Skip to content

Conversation

@MichaelChirico
Copy link

Another in the series (#370, #371) of gradually weaning off of {plyr} as a dependency.

"Modern" code I suppose is meant to use purrr::compact() instead, but it's not a drop-in replacement:

x = list(character(), NULL, 1)
purrr::compact(x)
# [[1]]
# [1] 1

plyr::compact(x)
# [[1]]
# character(0)

# [[2]]
# [1] 1

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