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

View source: R/snapshot.R

snapshotPreprocessOutputR Documentation

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

Description

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

Usage

snapshotPreprocessOutput(x, fun)

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.


rstudio/shiny documentation built on May 15, 2024, 10:33 a.m.