snapshotPreprocessOutput: Add a function for preprocessing an output before taking a...

Description Usage Arguments

View source: R/snapshot.R

Description

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

Usage

1

Arguments

x

A reactive which will be assigned to an output.

fun

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


tomkuipers1402/shiny documentation built on Feb. 13, 2020, 7:22 p.m.