Skip to content

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

Merged
teunbrand merged 3 commits into
tidyverse:mainfrom
ahcyip:ahcyip-patch-1
Sep 4, 2023
Merged

teunbrand merged 3 commits into
tidyverse:mainfrom
ahcyip:ahcyip-patch-1

Conversation

@ahcyip

@ahcyip ahcyip commented Aug 7, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Collaborator

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

@ahcyip

ahcyip commented Aug 9, 2023

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
Member

/document

@teunbrand teunbrand left a comment

Copy link
Copy Markdown
Collaborator

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