Contributing to survinger
Source:CONTRIBUTING.md
Thank you for your interest in contributing to survinger! This document outlines how to propose changes and submit contributions.
Reporting Bugs
If you find a bug, please open an issue with a minimal reproducible example. The reprex package is the preferred way to create one. Include:
- A brief description of the expected vs. actual behaviour
- A reprex that demonstrates the problem
- Output of
sessionInfo()ordevtools::session_info()
Suggesting Features
Feature requests are welcome. Please open an issue describing the use case and any alternatives you have considered.
Pull Requests
To contribute code:
- Fork the repository and create a new branch from
main. - If adding a new feature, include tests in
tests/testthat/. - Make sure
devtools::check()passes with no errors or warnings. - Use the tidyverse style guide. You can check your code with
styler::style_pkg(). - Update documentation with
devtools::document()if you change any roxygen comments. - Submit a pull request describing the changes.
Code Style
This package follows the tidyverse style guide. Please use styler to format code and lintr to check for common issues.
Testing
All new functionality should be accompanied by testthat tests. Run the test suite with:
devtools::test()Code of Conduct
Please note that this project is released with a Contributor Code of Conduct. By participating you agree to abide by its terms.