snapshotPreprocessInput

0th

Percentile

Add a function for preprocessing an input before taking a test snapshot

Add a function for preprocessing an input before taking a test snapshot

Usage
snapshotPreprocessInput(inputId, fun,
  session = getDefaultReactiveDomain())
Arguments
inputId

Name of the input value.

fun

A function that takes the input value and returns a modified value. The returned value will be used for the test snapshot.

session

A Shiny session object.

Aliases
  • snapshotPreprocessInput
Documentation reproduced from package shiny, version 1.4.0, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.