Google R Style (Detailed)
Source: https://google.github.io/styleguide/Rguide.html
Pair with the quick reference: google-r-style
This skill expands the short skill with section-level rules from Google's guide. For authoritative full text, see the official URL and reference.md.
How to use
- Start from google-r-style for everyday edits
- Use this skill for reviews, ambiguous cases, or API/doc conventions
- Consult reference.md for source paths and supplemental docs
Section rules
Good
- Infix functions (%name%) always need to be imported.
- Certain rlang pronouns, notably .data, need to be imported.
- Functions from default R packages, including datasets, utils,