snapshotPreprocessInput: Add a function for preprocessing an input before taking a...

Description Usage Arguments

View source: R/snapshot.R

Description

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

Usage

1
2

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.


tomkuipers1402/shiny2 documentation built on Nov. 28, 2019, 12:16 a.m.