Thank you for considering contributing to this package!
Getting Started
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/cbRt.git - Create a branch:
git checkout -b feature/your-feature-name
Development Workflow
Setup
# Install development dependencies
install.packages("devtools")
devtools::install_dev_deps()Making Changes
- Write your code following the existing style
- Document your functions with roxygen2 comments
- Add tests for new functionality
- Run checks locally:
devtools::document() # Update documentation
devtools::test() # Run tests
devtools::check() # Run R CMD checkCode Style
- Use 2 spaces for indentation
- Follow the tidyverse style guide
- Keep lines under 80 characters when possible
