Contributing to magp
Source:CONTRIBUTING.md
Bug reports and focused improvements are welcome. When reporting a problem, please include a small reproducible example, the result you expected, the result you received, and the output of sessionInfo().
For code changes:
- Create a branch for the change.
- Add or update tests when behavior changes.
- Run the test suite and an R package check.
- Open a pull request that briefly explains the change and its motivation.
The full test suite includes checks that start fresh R worker processes. Run it through an installed-package check from the package directory:
devtools::check()You can also build and check it directly:
If an exported R or C++ interface changes, regenerate the documentation and Rcpp bindings before committing the result.