Skip to content

New roxygen tag: @aesthetics #6437

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

teunbrand
Copy link
Collaborator

@teunbrand teunbrand commented Apr 22, 2025

This PR aims to fix #6436.

Briefly, it introduces a new @aesthetics roxygen tag that takes a ggproto object (Stat/Geom/Position) and makes a little section declaring the required/optional aesthetics.

I've tested it a little bit, but extensions should be able to use the tag for their objects too. For reasons I don't quite understand, the new section appears after the examples in the .Rd files, but I don't think that does any harm.

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.

Feature request: expose aesthetic section helper
1 participant