Thank you for your interest in contributing to weightflow. Contributions of all kinds are welcome: bug reports, feature requests, documentation improvements, and code.
Reporting bugs and requesting features
Please use the GitHub issue tracker.
- For a bug report, include a minimal reproducible example (a
reprex), the output ofsessionInfo(), and a description of what you expected versus what happened. - For a feature request, describe the use case and, if possible, how it fits the staged weighting workflow (which adjustment step it belongs to).
Contributing code
- Fork the repository and create a branch for your change.
- Follow the existing code style. Each adjustment is a
step_*()constructor (which only records the specification) plus anapply_step()S3 method (which performs the computation atprep()time); new steps should follow the same pattern. - Add tests under
tests/testthat/for any new behaviour, and make sureR CMD checkpasses with no errors, warnings, or notes. - Update the documentation (roxygen blocks and, where relevant, a vignette).
- Open a pull request describing the change and the motivation.
Getting help
If you have questions about using the package, please open an issue with the “question” label, or start a discussion on the repository. General usage is documented in the package vignettes and at https://jpferreira33.github.io/weightflow/.
