registerInputProcessor {shinytest} | R Documentation |
Register an input processor for the test recorder
Description
registerInputProcessor()
registers an input processor which will be used by
the test recorder. The input processor function should take one parameter,
value
, and return a string of R code which returns the desired value.
getInputProcessors()
returns a named list of all registered input processor
functions.
Usage
registerInputProcessor(inputType, processor)
getInputProcessors()
Arguments
inputType |
The name of an input type, for example,
|
processor |
An input processor function. |
[Package shinytest version 1.6.1 Index]