-
Notifications
You must be signed in to change notification settings - Fork 26
Development Workflow
nicholasjhorton edited this page Jan 20, 2012
·
33 revisions
This is an outline of the workflow for development and maintenance of the mosaic package.
Maintainers will need the following available to follow this workflow completely.
- scripting languages: R, bash, perl,
- R packages for development: devtools, testthat, optparse, roxygen2
- R packages for the package itself: lattice, grid, methods, Hmisc, utils, MASS, reshape2, [manipulate]
- R packages to compile ancillary materials (e.g. books): knitr
Currently, it is assumed that all scripts are run from the parent directory of bin. For example, ./bin/doitall
This outline is still in progress. git code examples will be added eventually.
- Create an issue at github describing the new feature to be added.
- Assign the issue to the person doing the coding.
- Create a branch named after the issue number (e.g., issue001). Pad to 3 digits. Typically this branch will come off of the beta branch or one of its subbranches
- Create, document, and test code.
- Working code can be merged into beta. (We need to decide if this will be done by the developer or via pull requests to a package moderator.)
- When ready for public release, beta can be merged into master (We need to decide if this will done by the developer or via pull requests to a package moderator.)
- Prior to merging beta into master, it may be useful to have an alpha branch that will become the next beta so that we can continue working on new stuff without delaying the release of more mature code.
When master is rebuilt, the resulting package should have a new R version number and be submitted to CRAN.