Contributing to pinnr
Source:CONTRIBUTING.md
Thanks for considering a contribution.
Reporting problems
Open an issue with a minimal reproducible example (the problem definition and the pinn_fit() call), the output of sessionInfo(), and torch::torch_is_installed().
Pull requests
- Open an issue first for anything larger than a small fix.
- Fork the repository and create a branch.
- Add tests in
tests/testthat/for new behaviour. Tests that train a network must callskip_if_no_torch()and should run in seconds. - Document functions with roxygen2 and run
devtools::document(). - Run
devtools::check()and make sure it passes. - Add a bullet to
NEWS.md.
Please be respectful in all interactions.