File: snapshotPreprocessOutput.Rd

package info (click to toggle)
r-cran-shiny 1.2.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,668 kB
  • sloc: makefile: 32; sh: 24
file content (17 lines) | stat: -rw-r--r-- 588 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/snapshot.R
\name{snapshotPreprocessOutput}
\alias{snapshotPreprocessOutput}
\title{Add a function for preprocessing an output before taking a test snapshot}
\usage{
snapshotPreprocessOutput(x, fun)
}
\arguments{
\item{x}{A reactive which will be assigned to an output.}

\item{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.}
}
\description{
Add a function for preprocessing an output before taking a test snapshot
}