Thank you for considering contributing to distionary! This package and the probaverse more generally have ambitious goals, so your help is needed. This document provides guidelines and instructions for contributing to the package.
Code of Conduct
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
How Can I Contribute?
Reporting Bugs
If you find a bug, please open an issue on GitHub with:
- A clear, descriptive title
- Steps to reproduce the issue
- Expected behavior
- Actual behavior
- Your R session info (output of
sessionInfo()) - A minimal reproducible example (reprex)
You can create a reprex using the reprex package, for example.
Suggesting Enhancements
Enhancement suggestions are tracked as GitHub issues. When creating an enhancement suggestion, please include:
- A clear, descriptive title
- A detailed description of the proposed enhancement
- Explanation of why this enhancement would be useful
- Examples of how the enhancement would be used
If your suggestion is about adding a new distribution family, please indicate why you think the family is significant enough to be included.
Pull Requests
We welcome pull requests! Here’s the process:
- Fork the repository and clone it locally.
- Create a branch for your changes.
- Make your changes following the coding style guidelines.
- Write or update tests to cover your changes.
- Run checks locally.
- Update documentation including roxygen2 comments and vignettes if needed.
- Commit your changes with clear, descriptive commit messages.
-
Push to your fork and submit a pull request to the
developmentbranch.
Coding Style
distionary follows the tidyverse style guide. Key points:
- Use
<-for assignment, not= - Use
snake_casefor function and variable names - Keep lines to a maximum of 80 characters
- Add spaces around operators (
x + y, notx+y) - Add spaces after commas (
f(x, y), notf(x,y))
Questions?
If you have questions about contributing, please contact the maintainer: Vincenzo Coia (vincenzo.coia@gmail.com).
