Learn R Programming

precommit (version 0.1.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.

Usage

install_precommit(force = FALSE)

Arguments

force

Whether or not to force a re-installation.

Value

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

Examples

Run this code
# NOT RUN {
install_precommit()
# }

Run the code above in your browser using DataLab