Contributing to nof1kit
Source:CONTRIBUTING.md
Contributions are welcome, including bug reports, feature suggestions, and pull requests.
Reporting a bug
Open an issue at https://github.com/haomeng797-ship-it/nof1kit/issues. The most useful reports include a small reproducible example, the output of sessionInfo(), and what you expected to happen instead.
Suggesting a feature
Open an issue describing the study design or workflow you are trying to support. Concrete cases are more useful than abstract requests: the package is meant to cover things people actually do in single-case research.
Pull requests
- Fork the repository and create a branch.
- Add a test in
tests/testthat/covering the change. Every exported function has tests; new behaviour should too. - Run
devtools::test()anddevtools::check()locally. - Document exported functions with roxygen2 and run
devtools::document(). - Open the pull request describing what changed and why.
Code follows the tidyverse style guide, with one deliberate exception: base R is preferred over dependencies unless a dependency earns its place. Keeping the dependency footprint small matters for a package meant to be installed on whatever machine a study happens to run on.
Code of conduct
Participation is governed by the Contributor Covenant.
Life cycle
nof1kit is stable and maintained. The seven exported functions and their arguments are considered settled: the file formats they read and write are shared with a mobile collection layer, so breaking them would break studies already in the field. Future work is expected to be additive, for example further quality checks in validate_ema() or further error structures in sim_power(). Bug reports and feature requests are welcome on the issue tracker.