mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-13 17:08:05 -05:00
* Update roxygen and regenerate. Mostly just whitespace changes and `code` -> `verb`. * R6 documentation for MockShinySession * Install roxygen from GH * % are now auto-escaped (We still need to go find the rest) * Fixed the ramining \% in roxygen Found looking for ^#'.*\\% in all R files, so I believe this is all of them. * Regenerate docs * Decreate indent in roxygen so paragraphs don't get interpreted as code blocks. https://github.com/r-lib/roxygen2/issues/948#issuecomment-546386172 * Namespace * Add MockShinySession reference to pkgdown. * Clean up test warnings * Export session
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
|
|
}
|