The future of vars()
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 7k
- Forks
- 2.1k
- Avg merge
- 59m
- Merged PRs (30d)
- 2
Description
vars() have been deprecated in the rest of tidyverse and is now in an odd position in ggplot2. Due to the non-standard semantics of facet specifications there are no real way to avoid some type of collector function with the same semantics as vars() so the current plan is to let it exist purely as a ggplot2 thing, but switch back to promoting formula notation in documentation examples etc... vars() will then only be promoted as a utility for programming with ggplot2 and not for interactive use.
Feedback from the maintainer team on this is very welcome - I've never really used vars() myself so my attachment to it is very limited
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the current vars() usage in ggplot2 documentation examples and the facet specification entry points. The issue asks for maintainer feedback before deciding whether formula notation should be promoted and vars() retained mainly for programming. Done would require an agreed direction and an explicitly scoped documentation change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization, documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100