wizard_menu_labels: Wizard Menu Labels

View source: R/wizard_menu_labels.R

wizard_menu_labelsR Documentation

Wizard Menu Labels

Description

The exact, position-ordered menu labels spellcheck_menu() itself displays for a given context/ keep_strings combination – used by textcleaner_shiny's wizard module to render one button per meta-option, each labeled with its real text and sending its real 1-indexed display position as the raw answer (see build_answer_burst).

Exported (not just internal) because inst/Shiny/'s own module files are sourced into the global environment by Shiny's own app-loading mechanism, not into the package namespace – an unexported function is not reachable from there by its bare name.

Usage

wizard_menu_labels(context, keep_strings)

Arguments

context

Character vector or NULL. The pending decision's own $pending$context – NULL for a single-response decision, the multi-word vector otherwise

keep_strings

Logical. The pending decision's own $pending$keep_strings

Value

A character vector of menu labels, in real display order

Author(s)

Alexander Christensen <alexpaulchristensen@gmail.com>


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