Contributing to SVG
Source:CONTRIBUTING.md
Thank you for your interest in contributing to SVG! This document provides guidelines for contributing to this package.
Types of Contributions
Bug Reports
- Use the GitHub Issues to report bugs
- Include a minimal reproducible example
- Include your R version and session info (
sessionInfo()) - Describe expected vs. actual behavior
Feature Requests
- Open an issue describing the feature
- Explain the use case and potential benefits
- If possible, suggest an implementation approach
Code Contributions
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature) - Make your changes
- Add tests for new functionality
- Ensure all tests pass (
devtools::test()) - Update documentation if needed (
devtools::document()) - Submit a pull request
Development Guidelines
Code Style
- Follow the tidyverse style guide
- Use meaningful variable and function names
- Add comments for complex logic
- Keep functions focused and modular
Documentation
- All exported functions must have roxygen2 documentation
- Include
@param,@return,@examples, and@exporttags - Update vignettes if adding major features
Code of Conduct
Please note that this project follows a Contributor Code of Conduct. By participating, you agree to abide by its terms.
Questions?
Feel free to open an issue or contact the maintainer at liuzaoqu@163.com.