Learn R Programming

precommit (version 0.0.0.9029)

path_precommit_exec: Locate the pre-commit executable

Description

path_precommit_exec() simply reads the R option precommit.executable, ] path_derive_precommit_exec() uses a heuristic to derive it from scratch.

Usage

path_precommit_exec(check_if_exists = TRUE)

path_pre_commit_exec(check_if_exists = TRUE)

Arguments

check_if_exists

Whether or not to make sure the returned path also exists.