update_precommit: Update the pre-commit executable

View source: R/update.R

update_precommitR Documentation

Update the pre-commit executable

Description

Updates the conda installation of the upstream framework pre-commit. This does not update the R package {precommit} and only works if you choose conda as your installation method. If you have problems updating, we suggest deleting the conda environment r-precommit (if you are sure nothing but pre-commit depend on it) and do a fresh installation with install_precommit().

Usage

update_precommit()

Value

The exit status of the conda update command (invisible).

See Also

Other executable managers: install_precommit(), uninstall_precommit(), version_precommit()


precommit documentation built on July 2, 2022, 1:06 a.m.