Repository navigation
Clarify geom_label documentation - #2782
Conversation
Non-support of ‘angle aesthetic’ rather than ‘rot parameter’
dpseidel
left a comment
There was a problem hiding this comment.
Nice catch! rot is the name of the argument to grid::textGrob() that angle informs internally but this wouldn't be clear to most users. Thanks!
|
Can you rebuild the documentation and commit the new .Rd file please ? Then we are good to merge. |
|
I'm all for fixing the documentation so it agrees with what the code does and I support this PR. However, maybe we should also think about adding the ability to rotate labels? Shouldn't be that hard. |
|
Thanks @clauswilke. Shall I create a separate issue for this? |
|
When I run I've only committed the relevant lines of |
It does! The new version of roxygen should be on CRAN soon. |
|
Thanks @batpigandme. I've installed the latest version via Still my little change should be fine as I've only committed the relevant lines. |
|
I'll make an issue for improvements in |
|
Issue filed (#2785). |
|
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/ |
Specify non-support of '
angleaesthetic' rather than 'rotparameter', as this is clearer.It is indeed the case that the
angleaesthetic isn't supported. You can see below thatgeom_textis rotated butgeom_labelisn't, despite the same aesthetics. Perhaps it's worth adding a warning if you try to use theangleaesthetic withgeom_label, although I'm less sure how you'd go about this.Do I need to render the file for the
man/directory?Created on 2018-07-27 by the reprex
package (v0.2.0).