MCPcopy Index your code
hub / github.com/pre-commit/pre-commit / _execute_vanilla_r

Function _execute_vanilla_r

pre_commit/languages/r.py:50–57  ·  view source on GitHub ↗
(
        code: str, *,
        prefix: Prefix, version: str, args: Sequence[str] = (), cwd: str,
)

Source from the content-addressed store, hash-verified

48
49
50def _execute_vanilla_r(
51 code: str, *,
52 prefix: Prefix, version: str, args: Sequence[str] = (), cwd: str,
53) -> str:
54 return _execute_r(
55 code=code, prefix=prefix, version=version, args=args, cwd=cwd,
56 cli_opts=('--vanilla',),
57 )
58
59
60def _read_installed_version(envdir: str, prefix: Prefix, version: str) -> str:

Callers 1

install_environmentFunction · 0.85

Calls 1

_execute_rFunction · 0.85

Tested by

no test coverage detected