What problem does it solve?
Check code against CEDA R or Python style standards. Use when reviewing code, after writing code, or when the user asks to check style/conventions.
Core Features & Use Cases
- Language detection to determine whether a project is R or Python (R indicators: DESCRIPTION, NAMESPACE, renv.lock, R/ directory; Python indicators: pyproject.toml, uv.lock, src/ directory).
- Standards loading: read standards/r-style.md for R projects and standards/python-style.md for Python projects from the cedanl/.github repo (and always also check standards/principles.md and standards/data-conventions.md).
- Scoping and execution: scope checks to a specified file or directory or run on the main sources: for R: R/, main.R, inst/app/app.R; for Python: src/, app/main.py; run automated checks (R: styler and lintr; Python: ruff check and ruff format --check).
- Reporting & guidance: manual review categories (Package structure, Code style, Naming, Data conventions, Documentation) with actionable feedback.
Quick Start
Run the check-style command on your project to validate R or Python files against the CEDA standards.