Overview
The script should be used to document all changes and additions to package code. In addition, git-flow branches should be used for all added features and bug fixes. The development branch serves as the “test” / “work-in-progress” branch while the master branch is the “production” branch and should only be updated when creating a new release.
For example, say I wanted to add a new feature / function - the following steps would be used:
-
Using Git-Flow, a new branch should be created off the current development branch with a name corresponding to the new feature.
-
Once in the new branch, add functions via the devhist.R script via .
-
Edit the new .R file and commit changes and push to feature branch.
-
Add tests for new function and document additions via , and document this in the devhist.R script.
-
Add example usage of the new feature via , and document this in the devhist.R script.
-
Document, Test, Check, Build, and Install.
-
Finally, merge feature branch with development branch using git-flow and if desired create a new release and merge with master branch updating the package version.