Contributing Guide
Thank you for considering contributing to the Futureverse ecosystem of R packages, which are developed under the futureverse GitHub organization.
This page describes conventions that apply to all Futureverse packages. Individual repositories may add their own CONTRIBUTING.md with package-specific details (e.g. testing instructions); where one exists, follow it in addition to this guide.
Branching model
Most Futureverse repositories use the Git Flow branching model (the git flow extension is useful for this):
developcontains the latest contributions and other code that will appear in the next release.master/maincontains the code of the latest release — exactly what is currently on CRAN.
Unless a repository’s own CONTRIBUTING.md says otherwise, target develop with your pull request, not master/main.
How to contribute
- Check existing issues in the relevant repository before opening a new one, to avoid duplicates.
- For non-trivial changes, open an issue first to discuss the approach before investing time in a pull request.
- Fork the repository and create a branch off
develop. - Make your changes, following the existing code style in the package.
- Add or update tests and documentation (roxygen2 comments,
NEWS.md) as appropriate. - Open a pull request against
develop. Your PR should passR CMD check --as-cran, which is also verified by GitHub Actions.
Code of Conduct
By participating in this project, you agree to abide by the Futureverse Code of Conduct.
Questions
If you’re unsure where to start, open an issue in the specific package repository you’re interested in, or see the Overview of All Packages.