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 July 2, 2022, 1:06 a.m.