Files
shiny/man/snapshotPreprocessOutput.Rd
Winston Chang 86e9cc4896 Add preprocessor for fileInputs that strips local path (#1789)
* Add preprocessor for fileInputs that strips local path

* Update NEWS

* Rename snapshotPreprocess to snapshotPreprocessOutput

* Add snapshotPreprocessInput function

* Remove unnecessary NEWS item

* Update NEWS

* Add getSnapshotPreprocessInput

* Add staticdocs entry for snapshotPreprocessInput

* Add private methods to get snapshotPreprocess functions

* Bump version to 1.0.3.9002
2017-07-13 16:07:16 -05:00

18 lines
588 B
R

% 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
}