Learn R Programming

precommit (version 0.4.3)

install_precommit: 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)

Value

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

Arguments

force

Whether or not to force a re-installation.

See Also

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

Examples

Run this code
if (FALSE) {
install_precommit()
}

Run the code above in your browser using DataLab