install_precommit {precommit}R Documentation

Install pre-commit on your system

Description

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().

Usage

install_precommit(force = FALSE)

Arguments

force

Whether or not to force a re-installation.

Value

The path to the pre-commit executable (invisibly).

See Also

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

Examples

## Not run: 
install_precommit()

## End(Not run)

[Package precommit version 0.4.2 Index]