Skip to content
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

Fixes for mapvalues() and revalue() #97

Merged
merged 3 commits into from Oct 9, 2012
Merged

Conversation

wch
Copy link
Collaborator

@wch wch commented Oct 9, 2012

This does the following :

  • mapvalues checks if the input is atomic.
  • revalue can handle NULL (it just returns NULL). This makes rename() able to handle empty vectors and lists (as it could do in the previous plyr release), which in turn fixes an issue in ggplot2::rename_aes().
  • Added tests for these things.

hadley added a commit that referenced this pull request Oct 9, 2012
Fixes for mapvalues() and revalue()
@hadley hadley merged commit 4ef25b6 into hadley:master Oct 9, 2012
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.

None yet

2 participants