DEVELOPING.md

Developing

Contributions are welcome. To contribute, fork this repository, commit your changes and push them to your fork, and submit a pull request explaining your contribution. Ideally, your changes will have a legible commit history. To keep us informed about what you're doing, discuss your plans in a github issue here and refer it in your pull request.

Worfklow

  1. Edit code
  2. Start a fresh R session with R --vanilla and run devtools::check() to test your changes.
  3. This also updates builds auto-generated documentation in the directory man based on your in-code Markdown.
  4. Syntax errors in that Markdown will be reported as warnings.
  5. For example: square brackets must be escaped if meant literally. In Markdown, the unit interval is written \[0,1\].
  6. Fix any errors or warnings reported by devtools::check().
  7. If you think it is the tests and not the your changes that are in error, update the tests.
  8. They're in the tests/testthat directory.
  9. Commit your changes.
  10. In your commit message, explain what you've changed and why, including any problematic with tests.
  11. Include in your commit any changes to the autogenerated documentation in the directory man and the file NAMESPACE.
  12. It is not necessary to merge changes to these files by hand, as they are autogenerated.

Online Documentation



synth-inference/synthdid documentation built on Jan. 26, 2024, 7:21 a.m.