tests/testthat/_snaps/basics.md

examples work

Code
  writeLines(run_app("flip-coin.R --help"))
Output
  Usage: flip-coin [OPTIONS]

  Flip a coin.

  Options:
    -n, --flips <FLIPS>  Number of coin flips [default: 1] [type: integer]
    --sep <SEP>          [default: " "] [type: string]
    --no-wrap
    --seed <SEED>        [default: NA] [type: integer]

  Examples:
    flip-coin --flips 3
    flip-coin -n 30 --no-wrap


Try the Rapp package in your browser

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

Rapp documentation built on June 11, 2026, 5:07 p.m.