What problem does it solve?
Readability and consistency issues in R code across teams slow reviews and introduce hidden bugs. This skill enforces Google's R Style Guide, providing automatic checks and practical guidance to keep naming, assignment, dependencies, and documentation aligned.
Core Features & Use Cases
- Naming and readability checks: enforce BigCamelCase for public functions and dot-prefix for private helpers.
- Assignment and piping: require leftward assignment and consistent use of pipes with readable line breaks.
- Functions and returns: emphasize explicit return statements and explicit boundary validation.
- Dependencies and namespaces: prefer explicit namespace usage and minimal broad imports to reduce conflicts.
- Risky patterns: discourage attach() and silent global state modifications to improve reliability.
Quick Start
Run the style checker on your R codebase to identify and fix naming, assignment, and namespace issues.