Contributing to marea
July 30, 2025 ยท View on GitHub
Development Workflow
Setting Up Your Development Environment
- Fork and clone the repository
- Create a development branch:
git checkout -b dev-yourname - Install development dependencies:
devtools::install_deps(dependencies = TRUE)
Making Changes
- Ensure your branch is up to date with main
- Make changes and add tests
- Run checks locally:
devtools::check() - Update documentation:
devtools::document() - Update NEWS.md with user-facing changes
Submitting Changes
- Push to your development branch
- Ensure GitHub Actions pass
- Merge into main when ready (Please request review from @jamiectam)
Coding Standards
- Use
snake_casefor functions and variables - Document all exported functions
- Include examples in documentation
- Add tests for new functionality in testthat structure
Git Branching Strategy
- Use
mainfor stable releases - Use
dev-*branches for development - Use descriptive branch names for features or fixes
- Regularly merge
maininto your development branch to keep it up to date - Use pull requests for code reviews and merging