-
Notifications
You must be signed in to change notification settings - Fork 0
Workflow for new functions
Charlton Callender edited this page Aug 10, 2020
·
10 revisions
- Create a feature branch for your additions
- Create a new
.R
file in theR
directory - Write out your function with complete documentation and according to our style guide.
- Create and run tests, debug as needed.
- Optional: create a vignette to describe your function (or related functions), when you would use it, and some context or examples.
- Knit the documentation (
devtools::document()
). - Check the package (
devtools::check()
orBuild > Check Package
).- Goal: 0 errors, 0 warnings, 0 notes
- The package check includes all tests, including testing that function examples work, spell-check, formatting, and more
- Submit a pull request on github.
- Get at least 1 approval, and repeat any of the above steps as appropriate.
- Merge your PR into the master branch. This will trigger the github action checks and evaluation of test coverage. The pkgdown site will also be automatically updated.
- Propagate changes to
docker-base
and/ordocker-internal
.