Contributing to scrutr
Source:.github/CONTRIBUTING.md
This document outlines how to propose a change to scrutr. For questions, please use the discussions page rather than opening an issue.
Fixing typos
Small typos or grammatical errors in documentation may be edited directly using the GitHub web interface, as long as the changes are made in the source file.
- YES: edit a roxygen comment in a
dev/flat_*.Rmdfile. - NO: edit a generated
.Rdfile underman/, or a generated.Rfile underR/.
Bigger changes
If you want to make a bigger change, open an issue first to discuss it. Scope creep is the single biggest cause of PRs being rejected.
Pull request process
- Fork the package and clone it.
- Create a Git branch for your PR.
-
scrutrusesfusento generate theR/,man/, andtests/testthat/files fromdev/flat_*.Rmd. Edit the relevant flat file, then runfusen::inflate()to regenerate. -
scrutrusesroxygen2, with Markdown syntax, for documentation. -
scrutrusestestthat. Contributions with test cases are easier to accept. - Make sure
devtools::check()returns 0 errors / 0 warnings / 0 notes. - Add a bullet to the top of
NEWS.md, below the current development version header, describing the user-visible change in complete sentences. - Open the pull request.
Code style
- New code should follow the tidyverse style guide.
- Use
stylerto apply these styles, but do not restyle code unrelated to your PR.
Code of Conduct
Please note that the scrutr project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.