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

Function _execute_r_in_renv

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

Source from the content-addressed store, hash-verified

38
39
40def _execute_r_in_renv(
41 code: str, *,
42 prefix: Prefix, version: str, args: Sequence[str] = (), cwd: str,
43) -> str:
44 return _execute_r(
45 code=code, prefix=prefix, version=version, args=args, cwd=cwd,
46 cli_opts=_RENV_ACTIVATED_OPTS,
47 )
48
49
50def _execute_vanilla_r(

Callers 4

_read_installed_versionFunction · 0.85
_read_executable_versionFunction · 0.85
_write_current_r_versionFunction · 0.85
install_environmentFunction · 0.85

Calls 1

_execute_rFunction · 0.85

Tested by

no test coverage detected