nhs-r-community / NHSRplotthedots

An SPC package to support NHSE/I 'Making Data Count' programme
https://nhs-r-community.github.io/NHSRplotthedots/
Other
47 stars 21 forks source link

Create action for Readme.Rmd #181

Closed tomjemmett closed 1 year ago

tomjemmett commented 1 year ago

Fixes #160. Adds an action that runs a pre-commit hook to check that the Readme.Rmd has been re-rendered after changes

tomjemmett commented 1 year ago

added a pre-commit.sh script that is useful to generally have copied into the local .git/hooks folder. This is copied from what usethis::use_readme_rmd() will create. Quesiton is, should we suggest all developers copy this file (cp pre-commit.sh .git/hooks/pre-commit)?