Convenience wrapper around set_result() for tournament workflows.
Arguments
- tournament
A
tournamentobject.- stage
Stage identifier containing the match.
- match
Match identifier inside
stage.- score
Numeric vector score payload. For a single match, pass
c(score1, score2).- overwrite
Logical; forwards to
set_result(..., overwrite = ...).- auto_advance
Optional logical override. If
NULL, defaults to the tournament'sauto_advancesetting when present.
Examples
teams <- c("A", "B", "C", "D")
trn <- tournament(teams) |>
round_robin("groups")
# Enter a single result
trn <- result(trn, "groups", match = 1, score = c(2, 1))
