powered by
path_precommit_exec() simply reads the R option precommit.executable, path_pre_commit_exec() is the old spelling and deprecated.
path_precommit_exec()
precommit.executable
path_pre_commit_exec()
path_precommit_exec(check_if_exists = TRUE)path_pre_commit_exec(check_if_exists = TRUE)
path_pre_commit_exec(check_if_exists = TRUE)
Whether or not to make sure the returned path also exists.
A character vector of length one with the path to the pre-commit executable.
path_derive_precommit_exec() for the heuristic to derive it from scratch.
path_derive_precommit_exec()
# NOT RUN { path_precommit_exec() # } # NOT RUN { path_pre_commit_exec() # }
Run the code above in your browser using DataLab