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

Update documentation and example in scale-brewer.R to reflect scale_*_distiller's non-intuitive "direction" #5381

Merged
merged 3 commits into from
Sep 4, 2023

Conversation

ahcyip
Copy link
Contributor

@ahcyip ahcyip commented Aug 7, 2023

Capturing in documentation that scale_*_distiller has a non-intuitive default direction = -1, and that to reverse, user needs to specify direction = 1

Source:
#1439
#4444

Capturing in documentation that scale_*_distiller has a non-intuitive default direction = -1, and that to reverse, user needs to specify direction = 1

Source:
tidyverse#1439
tidyverse#4444
@ahcyip ahcyip changed the title Update scale-brewer.R Update documentation and examples in scale-brewer.R to reflect scale_*_distiller's non-intuitive "direction" Aug 7, 2023
@ahcyip ahcyip changed the title Update documentation and examples in scale-brewer.R to reflect scale_*_distiller's non-intuitive "direction" Update documentation and example in scale-brewer.R to reflect scale_*_distiller's non-intuitive "direction" Aug 7, 2023
@teunbrand
Copy link
Collaborator

Looks good to me in principle. Is there any chance you could run devtools::document() to regenerate the .Rd files as well?

@ahcyip
Copy link
Contributor Author

ahcyip commented Aug 9, 2023

devtools::document()

Sorry I only edited on Github.com and I don't have the latest repo with me right now.
Is there a way to lump this with some other documentation update?

@yutannihilation
Copy link
Member

/document

Copy link
Collaborator

@teunbrand teunbrand left a comment

Choose a reason for hiding this comment

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

Thanks @ahcyip for the PR: it looks good to me.
Thanks @yutannihilation for running the redocumentation.

@teunbrand teunbrand merged commit d180248 into tidyverse:main Sep 4, 2023
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.

3 participants