Google R Style Detailed

Comprehensive Google R style rules with section-level guidance. Use when google-r-style is insufficient, for thorough reviews, or when the user names this skill.

peterish8 Updated

File contents

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

  1. Start from google-r-style for everyday edits
  2. Use this skill for reviews, ambiguous cases, or API/doc conventions
  3. 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,

peterish8/cursor-google-style-skills/tree/main/skills/google-r-style-detailed commit c9a7929c5b

Frequently asked questions

npx skillmds@latest add peterish8/google-r-style-detailed