shiny_prerendered_chunk: Add code to a shiny_prerendered context

View source: R/shiny_prerendered.R

shiny_prerendered_chunkR Documentation

Add code to a shiny_prerendered context

Description

Programmatic equivalent to including a code chunk with a context in a runtime: shiny_prerendered document.

Usage

shiny_prerendered_chunk(context, code, singleton = FALSE)

Arguments

context

Context name (e.g. "server", "server-start")

code

Character vector with code

singleton

Collapse multiple identical versions of this chunk into a single chunk.


rstudio/rmarkdown documentation built on April 9, 2024, 10:43 p.m.