Thank you for your interest in contributing to putior! This document provides guidelines for contributing to the project.
Reporting Bugs
Open an issue at github.com/pjt222/putior/issues with:
- A minimal reproducible example
- Your R version (
sessionInfo()) - The putior version (
packageVersion("putior")) - Expected vs actual behavior
Feature Proposals
Before starting work on a new feature, please open an issue to discuss the idea. This helps avoid duplicate effort and ensures the feature fits the package’s scope.
Pull Request Guidelines
-
Fork and branch: Create a feature branch from
main(e.g.,feature/my-improvement) - Follow existing style: Match the coding patterns in the existing codebase
- Document: Add roxygen2 documentation for any new exported functions
- Test: Add testthat tests for new functionality (aim for >80% coverage)
-
Check: Run
devtools::check()and ensure 0 errors, 0 warnings - Describe: Write a clear PR description explaining the “why” behind your changes
Development Setup
# Install development dependencies
devtools::install_dev_deps()
# Load package for development
devtools::load_all()
# Run tests
devtools::test()
# Full package check
devtools::check()Documentation
- Use roxygen2 for function documentation
- Update vignettes if your change affects user-facing behavior
- Run
devtools::document()to regenerate man pages
Code of Conduct
This project follows the Contributor Covenant Code of Conduct. By participating, you agree to uphold this code.