View source: R/advance_wizard.R
| advance_wizard | R Documentation |
textcleaner_shiny() Wizard by One DecisionWraps the mechanics common to every
textcleaner_shiny wizard button click: builds a one-shot
queued reader out of answers (typically from
build_answer_burst), resumes textcleaner(continue =
...) with it, and returns whatever it stops at next – either a further
$stop = TRUE/$pending decision, or the finished result.
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.
advance_wizard(
continue,
answers = character(0),
search_fn = searcher::search_site,
edit_fn = function(x) x,
cores = 1
)
continue |
List.
The current |
answers |
Character vector.
The answers to queue for this one resume call, typically built by
|
search_fn |
Function.
Passed through to |
edit_fn |
Function.
Passed through to |
cores |
Numeric.
Passed through to |
Whatever textcleaner() returns for this resume call – a
further $stop = TRUE/$pending decision, or the finished
textcleaner-classed result
Alexander Christensen <alexpaulchristensen@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.