| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/shiny_prerendered.R |
| 3 |
\name{shiny_prerendered_chunk} |
| 4 |
\alias{shiny_prerendered_chunk} |
| 5 |
\title{Add code to a shiny_prerendered context} |
| 6 |
\usage{ |
| 7 |
shiny_prerendered_chunk(context, code, singleton = FALSE) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{context}{Context name (e.g. "server", "server-start")} |
| 11 |
|
| 12 |
\item{code}{Character vector with code} |
| 13 |
|
| 14 |
\item{singleton}{Collapse multiple identical versions of this |
| 15 |
chunk into a single chunk.} |
| 16 |
} |
| 17 |
\description{ |
| 18 |
Programmatic equivalent to including a code chunk with a |
| 19 |
context in a runtime: shiny_prerendered document. |
| 20 |
} |