The goal of this guide is to help contributors to tdaunif plan their contributions and navigate the process. The sections below cover different types of contributions, usually with increasing degrees of proposed change.
Note that tdaunif is released with a Contributor Code of Conduct. By contributing, you agree to its terms.
This guide is loosely adapted from the contributing guides for ggplot2 and from ropensci. If you have questions about or suggestions for this guide, please feel free to contact a package maintainer.
Small edits to comments, documentation, and other non-code files may be made using the GitHub file editor. To edit roxygen2 documentation, make changes to a source file R/<topic>.r
, on a line that begins with #'
, rather than to a documentation file man/<topic>.Rd
.
For more guidance on roxygen2 documentation, see this chapter in the online book R packages.
Questions, possible bugs, feature requests, other open-ended issues may be raised as issues on GitHub. In most cases, the issue should consist of two sections: a description of the issue, and a reproducible example of it. A reproducible example should attach packages, include data, and execute code:
Attach all relevant packages at the top of the example.
Use as few and as simple objects as possible to illustrate the issue. If the issue involves one or more custom objects <object>
, these should be reconstructed in the code rather than read from files, as follows:
dput(<object>)
in R.Use as few lines or steps of code as feasible to illustrate the issue. Add comments at key steps.
For more guidance on reproducible examples, see this vignette for the reprex package.
Bug fixes, feature upgrades, and other substantive, self-contained changes may be contributed via pull request. Unless previously discussed with a maintainer, please follow these steps:
tdaverse/tdaunif
).For more guidance on the pull request process, see the contributing guidelines for ggplot2.