ices-eg / WK_RDBES

3 stars 6 forks source link

WK_RDBES

precommit-hook framework

In order to run lintr and styler (etc) before committing code, follow the instructions at the following address: https://github.com/lorenzwalthert/precommit#installation

  1. Check that python3 is installed and install if necessary
  2. Run pip install
    pip3 install pre-commit --user
  3. Install R precommit package
    install.packages("precommit")
  4. Run at the root of the git repository (change cwd in R)
    library(precommit)
    precommit::use_precommit()
  5. Running git commit should run the various checks automatically. See the config file for all the checks.