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

Add na.rm support to DiscreteRange$train #283

Merged
merged 1 commit into from
Jun 25, 2020

Conversation

dpseidel
Copy link
Collaborator

DiscreteRange train function does not currently support the na.rm argument to train_discrete, preventing its direct use to replace ggplot2's range functions (tidyverse/ggplot2#2710). This PR updates the train function to support this argument.

Copy link
Collaborator

@clauswilke clauswilke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dpseidel
Copy link
Collaborator Author

@clauswilke are you concerned by the failing check? looks to be related to a warning regarding links on the brewer_pal documentation. Not entirely sure what's going on there but it's definitely unrelated to this PR. If not, I'll merge.

@clauswilke
Copy link
Collaborator

Cross-references in documentation are an ongoing drama, but that shouldn't hold up this PR. Not sure why it hits this particular test, but maybe just because {plyr} isn't currently available for R devel.

@dpseidel dpseidel merged commit 350b0dc into r-lib:master Jun 25, 2020
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.

2 participants