What it does
A Cursor rules file that guides the assistant when writing R code. It covers project and file organization, snake_case naming, reusable functions, reproducible reports with RMarkdown or Quarto, dependency management with renv, Git use, and documenting dependencies in R packages.
Use cases
- 01Set up a clean R project folder structure
- 02Write a reproducible Quarto report
- 03Lock package dependencies with renv