mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-07 05:04:58 -05:00
* 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
20 lines
638 B
R
20 lines
638 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/snapshot.R
|
|
\name{snapshotPreprocessInput}
|
|
\alias{snapshotPreprocessInput}
|
|
\title{Add a function for preprocessing an input before taking a test snapshot}
|
|
\usage{
|
|
snapshotPreprocessInput(inputId, fun, session = getDefaultReactiveDomain())
|
|
}
|
|
\arguments{
|
|
\item{inputId}{Name of the input value.}
|
|
|
|
\item{fun}{A function that takes the input value and returns a modified
|
|
value. The returned value will be used for the test snapshot.}
|
|
|
|
\item{session}{A Shiny session object.}
|
|
}
|
|
\description{
|
|
Add a function for preprocessing an input before taking a test snapshot
|
|
}
|