Thanks for improving hetiv. The package is research software, so the most helpful contributions are reproducible bug reports, small regression tests, and documentation fixes.
Development workflow
- Install development dependencies with
devtools::install_deps(dependencies = TRUE). - Load the package with
devtools::load_all(). - Run tests with
devtools::test(). - Check test coverage with
covr::package_coverage(). - Regenerate documentation after roxygen changes with
devtools::document(). - Run
devtools::check()before release-oriented changes.
Please keep examples deterministic, offline-safe, and reasonably fast. Use small simulated data in tests unless a larger sample is needed to reproduce a numerical issue.
Style
The public API uses mathematical names such as Psi, Phi, SigE, and H. Those names are intentionally preserved. New internal helpers should prefer clear lower-case names, focused functions, and explicit error messages.
Bug reports
For numerical or econometric bugs, include:
- the exact function call;
- the dimensions of all input matrices;
-
sessionInfo(); - whether the issue depends on the random seed;
- the expected behavior and the observed behavior.
