The goal of this guide is to help contribute to robvis as quickly as possible.
Please note that robvis is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Small typos or grammatical errors in documentation may be edited directly using the GitHub web interface of your forked repository, so long as the changes are made in the source file.
.R
file below R/
..Rd
file below man/
.Similarly, typos/errors in the supporting documents (e.g. these contributing guidelines, NEWS.md, CODE_OF_CONDUCT.md) may be edited directly using the GitHub web interface of your forked repository.
The exception to the above is when typos/errors occur in the README.md document. To correct these:
When filing an issue, the most important thing is to include a minimal reproducible example so that we can quickly verify the problem, and then figure out how to fix it. See “Writing a good reproducible example”.
Any additional required packages should be loaded at the top of the script, so it’s easy to see which ones the example needs.
Spend a little bit of time ensuring that your code is easy for others to read:
make sure you’ve used spaces and your variable names are concise, but informative
use comments generously to indicate where your problem lies
do your best to remove everything that is not related to the problem.
You can check you have actually made a reproducible example by starting up a fresh R session and pasting your script in.
Before you make a substantial pull request, you should always file an issue and make sure someone from the team agrees that it’s a problem. If you’ve found a bug, create an associated issue and illustrate the bug with a minimal reproducible example.