Skip to contents

Install pre-commit file in the repo.

Usage

install_precommit(force = FALSE, ...)

Arguments

force

overwrite the file if it already exists

...

additional arguments to pass to create_precommit_config()

Value

cli messages related to the installation of pre-commit files. Create inst/pre-commit folder and .git/hooks/pre-commit file.