call_precommit {precommit}R Documentation

Call pre-commit

Description

Either via ⁠conda run⁠ (because conda env needs to be activated in general to ensure an executable to runs successfully) or, if the installation method was not conda, as a plain bash command.

Usage

call_precommit(..., wait = TRUE)

Arguments

...

Arguments passed to the command line call pre-commit.

wait

Passed to base::system2().


[Package precommit version 0.4.2 Index]