Skip to content

precommit v0.2.2 (2021-12-14)

Compare
Choose a tag to compare
@lorenzwalthert lorenzwalthert released this 15 Dec 13:14
· 619 commits to main since this release

This is a maintenance release on the request of CRAN (#337) and to improve experience with the language: r switch conducted in v0.2.0. Also note that projects using {renv} and RStudio are not very compatible with hook versions > 0.1.3.9014. For that reason, autoupdate() results in downgrading the hook versions in these situations (#346).

API Changes

  • The argument --no-warn-cache in the style-files and the roxygenize hook is deprecated and will be removed in a future release. Please remove it from your .pre-commit-config.yaml (#340. #341).

Other changes

  • style-files hook fails more informatively if required package is not listed in additional_dependencies: (#333).
  • configure all git operations to use LF (#337).
  • deps-in-desc always excludes README.md (#336).
  • Document timeout and other problems with pre-commit.ci (#335).
  • simplify roxygenize problem handling (#338).
  • More executables on macOS are detected (#344).
  • Only hard dependencies are generated with snippet_generate("additional-deps-roxygenize") (#344)

Thanks to all people who contributed to this release:

@lorenzwalthert, @pat-s, and @smingerson.