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.


rmarkdown documentation built on Nov. 4, 2024, 5:06 p.m.