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

Function renv_folder

tests/languages/r_test.py:209–214  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

207
208@pytest.fixture
209def renv_folder(tmp_path):
210 renv_dir = tmp_path.joinpath('renv')
211 renv_dir.mkdir()
212 activate_r = resource_text('empty_template_activate.R')
213 renv_dir.joinpath('activate.R').write_text(activate_r)
214 yield
215
216
217def test_r_hook(

Callers

nothing calls this directly

Calls 1

resource_textFunction · 0.90

Tested by

no test coverage detected