Contributing to hte3
Source:CONTRIBUTING.md
Thanks for contributing to hte3.
See the contributing guide for setup, tests, documentation, and release checks. To add a custom learner, see Extending hte3.
Local checks
Most changes should update code, tests, and docs together. The usual local loop is:
Rscript -e 'devtools::document()'
Rscript -e 'pkgdown::build_site()'
Rscript -e 'testthat::test_local(stop_on_failure = FALSE)'If you did not touch roxygen comments, you can skip devtools::document().
Release-oriented checks
Before a release or a docs-heavy merge, also run:
Use dev/release-checklist.md as the source of truth for the full release sequence.
Website note
The website in docs/ is generated by pkgdown. Do not hand-edit generated HTML. Update README.md, man/, or vignettes/, then rebuild the site:
Legacy paper reproducibility
The EP-learner paper reproduction remains available in paper_EPlearner_experiments/, but it is not part of the main user-facing site. Use paper_EPlearner_experiments/install_legacy_paper_repro.R for the frozen package ref and inst/legacy/run_smoke.R for the smoke-test entry point.