mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-07 05:04:58 -05:00
18 lines
570 B
R
18 lines
570 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/snapshot.R
|
|
\name{snapshotPreprocess}
|
|
\alias{snapshotPreprocess}
|
|
\title{Add a function for preprocessing an output before taking a test snapshot}
|
|
\usage{
|
|
snapshotPreprocess(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
|
|
}
|