Files
shiny/man/markOutputAttrs.Rd
Jeff Allen 32f93a2be1 Integration Testing Docs (#2691)
* 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
2019-11-01 02:33:58 +00:00

22 lines
686 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/shinywrappers.R
\name{markOutputAttrs}
\alias{markOutputAttrs}
\title{Mark a render function with attributes that will be used by the output}
\usage{
markOutputAttrs(renderFunc, snapshotExclude = NULL, snapshotPreprocess = NULL)
}
\arguments{
\item{renderFunc}{A function that is suitable for assigning to a Shiny output
slot.}
\item{snapshotExclude}{If TRUE, exclude the output from test snapshots.}
\item{snapshotPreprocess}{A function for preprocessing the value before
taking a test snapshot.}
}
\description{
Mark a render function with attributes that will be used by the output
}
\keyword{internal}