This installs pre-commit in the conda environment r-precommit. It
will be available to use across different git repositories. To update,
refer to update_precommit()
.
install_precommit(force = FALSE)
Whether or not to force a re-installation.
The path to the pre-commit executable (invisibly).
Other executable managers:
uninstall_precommit()
,
update_precommit()
,
version_precommit()
if (FALSE) {
install_precommit()
}