Skip to content

Stricter unit handling - #3034

Merged
thomasp85 merged 17 commits into
tidyverse:masterfrom
thomasp85:strict-unit
Dec 13, 2018
Merged

thomasp85 merged 17 commits into
tidyverse:masterfrom
thomasp85:strict-unit

Conversation

@thomasp85

Copy link
Copy Markdown
Member

As part of my rewrite of the grid unit system I came upon these two cases where units are constructed, but then subsequently treated as numeric vectors. Apart from the unneeded overhead, this can potentially mess up unit construction downstream if the units are not in the expected structure

@thomasp85
thomasp85 requested a review from clauswilke December 12, 2018 20:23
Comment thread R/guide-legend.r Resolved
Comment thread R/coord-.r Resolved
@thomasp85

Copy link
Copy Markdown
Member Author

@clauswilke I've updated based on your comments

@thomasp85 thomasp85 mentioned this pull request Dec 13, 2018
@thomasp85
thomasp85 merged commit b25e2da into tidyverse:master Dec 13, 2018
thomasp85 added a commit to thomasp85/ggplot2 that referenced this pull request Mar 29, 2019
thomasp85 added a commit that referenced this pull request Apr 11, 2019
@lock

lock Bot commented Jun 12, 2019

Copy link
Copy Markdown

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock Bot locked and limited conversation to collaborators Jun 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants