-
Notifications
You must be signed in to change notification settings - Fork 1.2k
add instructions for R programming language #346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request adds comprehensive coding instructions for R programming language projects to guide GitHub Copilot in generating idiomatic and maintainable R code. The instructions cover R, R Markdown, and Quarto files with detailed guidance on style, performance, security, and best practices for both base R and tidyverse approaches.
Key changes:
- Added detailed R programming instructions covering conventions, performance, security, and Copilot-specific guidance
- Included practical code examples demonstrating both base R and tidyverse patterns
- Updated the instructions README to link the new R instructions
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| instructions/r.instructions.md | New instruction file with comprehensive R coding standards, best practices, and minimal code examples |
| README.instructions.md | Added table entry linking to the new R instructions file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
Pull Request Checklist
node update-readme.jsand verified thatREADME.mdis up to date.Description
This pull request adds comprehensive instructions for R programming language projects to guide GitHub Copilot in generating idiomatic, safe, and maintainable R code. The main change is the introduction of a new instruction file for R, which is also linked in the main instructions README for discoverability.
R language support and documentation:
instructions/r.instructions.mdfile providing detailed conventions, best practices, and Copilot-specific guidance for R, Rmd, and Quarto files. The instructions cover style, safety, reproducibility, performance, error handling, security, and minimal code examples.README.instructions.mdto include a link to the new R instructions, making them accessible alongside other language and framework guides.Type of Contribution
Additional Notes
None.
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.