R Package Development Extension for Gemini CLI
Expert R package development with S7, devtools, and CRAN best practices.
From GitHub (Recommended)
gemini extensions install https://github.com/data-wise/r-package-dev-gemini
gemini extensions install /path/to/r-package-dev
/r-init # New package
/r-onboard # Existing package
/r-resume # Continue previous work
Command
Description
/r-init
New package with development plan
/r-onboard
Analyze existing package
/r-resume
Resume from session logs
/r-save
Save progress before quitting
/r-learn
Update knowledge
/r-usethis
Run usethis commands
/r-git
Branch management
Command
Description
/r-check
devtools::check()
/r-review
Code review
/r-fix
Auto-fix issues
/r-lint
Tidyverse linting
Command
Description
/r-s7
S7 classes/methods
/r-docs
devtools::document()
/r-test
devtools::test()
Command
Description
/r-readme
README with badges
/r-news
NEWS.md
/r-pkgdown
Build website
/r-actions
GitHub Actions
/r-ci
Check workflow status
Command
Description
/r-cran
CRAN submission
Located in docs/:
STANDARDS.md - Development standards
BADGES.md - Badge templates
README_TEMPLATE.md - README structure
NEWS_TEMPLATE.md - NEWS format
BRANCHING.md - Git strategy
LEARNINGS.md - Captured knowledge
LEARNINGS_TEMPLATE.md - Project template
GEMINI_TEMPLATE.md - GEMINI.md template
# Extension-level (all projects)
open ~ /.gemini/extensions/r-package-dev/docs/LEARNINGS.md
# Project-level
open planning/LEARNINGS.md
devtools :: load_all() # Load
devtools :: document() # Docs
devtools :: test() # Test
devtools :: check() # Check
Fork the repository
Create a feature branch
Make your changes
Submit a pull request
Apache 2.0 - See LICENSE