https://departmentfortransport.github.io/R-cookbook/
- Clone the repository
- Make a new branch for your chapter or changes
git checkout -b name_of_branch
- Add/edit content in the
.Rmd
files. - Create a pull request, get someone to review the content, and merge into master (merging into master will trigger the book website to be updated automatically). Please do not include built files in your pull request.
If you wish to use a package not already loaded within the book then please add it to the imports section of the DESCRIPTION
file.
Please make sure that code sections pass lintR checks. Whilst currently linting errors won't stop the book from building we may in future change this and then any linting errors would cause the build to fail. This would be intentional to ensure the book does not contain any bad practices.
lintr::lint('file.Rmd')