Contributing to haulplan
Source:CONTRIBUTING.md
Thanks for helping! The short version:
- Open an issue first for anything non-trivial.
- Fork, branch from
main, and keep PRs focused. -
devtools::test()must pass (41 tests) anddevtools::check()must be clean before review. - Every exported function needs roxygen docs with a runnable
@examples. - New KPIs: add the row to
data-raw/make_sample_data.R(KPI dictionary), regenerate data, implement inR/kpis.R, document invignettes/kpis.Rmd, and add tests. - No new
Importswithout discussion - install friction on site laptops is a design constraint (see HANDOFF.md).
Code style: base-R friendly, tidyverse only where it clearly pays (ggplot2).