tests/testthat/_snaps/gitr.md

silencing the echo is possible via gitr_echo_cmd= global option

Code
  ver <- git("--version")
Output
  Running git --version
Code
  ver <- git("--version", echo_cmd = FALSE)
Code
  ver <- git("--version", echo_cmd = FALSE)
Output
  Running git --version
Code
  ver <- git("--version", echo_cmd = FALSE)


Try the gitr package in your browser

Any scripts or data that you put into this service are public.

gitr documentation built on June 8, 2025, 10:24 a.m.