When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners before making a change.
dev
branch ONLY. If you are implementing a feature name it
feature/name_of_feature
such as feature/rap_opinions_table
, if you are implementing a bugfix name it
bug/issue_name
, such as big/005
. The 005
refers to the GitHub issue which has additional details.dev
branch.dev
to master
, you must increment the version number
in the VERSION file to the new version that this Pull/Merge Request would
represent. The versioning scheme we use is SemVer.For the most part, follow the guidelines from R packages by Hadley Wickham. You can differ but you will need to explain the reason in the PR. The unit tests are performed with testthat, the documentation is built with roxygen2 and the package follows the standard structure.
.rmd
files in rmarkdown folder. Try to keep code to a minimal in markdown files. It is preferred to write any logic in the carsurvey2 package and call this, as it is harder to debug and test code in rmarkdown.When you have written code that you would like to add to the project you should submit it for a review, this is done using a GitHub Pull Request (PR). The code should be on an individual branch and be merged into the dev branch
To make a pull request as clear as possible, it should include an appropriate checklist of relevant information about the proposed code changes (instead of a single line summary), such as:
First- Is the PR request itself sufficient, (look at Guide for submitting code). If not then ask the author to meet the requirements as specified above BEFORE starting the review.
If you have any issues or questions then ask the author for further details. Use the GitHub PR process (rather than email/Skype UNLESS disclosure is an issue) as this keeps a public record of the reasons for decisions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.