call_precommit: Call pre-commit

View source: R/call.R

call_precommitR 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().


precommit documentation built on Sept. 11, 2024, 7:07 p.m.