Contributing to ecosanctuary
Source:CONTRIBUTING.md
Thank you for helping improve ecosanctuary.
Before opening a change
For a bug, include a small reproducible question fragment, index row, the command you ran, the result you expected, and the output of sessionInfo(). Never include live assessment answers or confidential student information in a public issue.
For a feature, first describe the authoring or teaching workflow it should support. New behavior should remain independent of any one course or data package.
Development workflow
- Create a branch from the current main branch.
- Add or update roxygen documentation with code changes.
- Add focused tests under
tests/testthat/. - Run
devtools::document(),devtools::test(), anddevtools::check(). - Update a vignette and
NEWS.mdwhen behavior visible to users changes. - Open a pull request explaining the change and its validation.
Generated man/ and NAMESPACE files should be committed. Do not edit them by hand; change the roxygen comments and regenerate them.