# R Development Guidelines

> Objective: Define standards for reproducible, clean, and collaborative R code in data science, statistical analysis, and package development contexts, covering project structure, code style, functional patterns, reporting, and testing.

::: tip Source File
View the full rule: [`.agent/rules/r.md`](https://github.com/snowdreamtech/template/blob/main/.agent/rules/r.md)
:::

## Sections

- 1. Project Structure & Reproducibility
- 1. Code Style & Conventions
- 1. Functions & Validation
- 1. Reproducibility & Reporting
- 1. Data Handling & Testing
