wizard_response_letters: Wizard Response Letters

View source: R/wizard_menu_labels.R

wizard_response_lettersR Documentation

Wizard Response Letters

Description

The QWERTY letters appropriate_answer() assigns to non-default choices (possible, i.e. best_guess's own candidate list) in display order – used by textcleaner_shiny's wizard module to label its suggestion buttons and to build the right raw answer for one (see build_answer_burst).

Exported (not just internal) for the same reason as wizard_menu_labels – reachability from inst/Shiny/.

Usage

wizard_response_letters(n)

Arguments

n

Numeric. The number of candidates to label (length(pending$possible)). Explicitly capped at 10 here (not just assumed) – best_guess() itself never returns more than 10 candidates in its give-up list, but indexing a 10-element vector with seq_len(n) for n > 10 would otherwise silently return n elements, the extra ones NA, rather than truncating

Value

A character vector of QWERTY letters, in display order

Author(s)

Alexander Christensen <alexpaulchristensen@gmail.com>


SemNetCleaner documentation built on Oct. 16, 2026, 5:07 p.m.