knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Once you have built and published a page featuring connectwidgets, you have a few options for keeping it up to date:

Scheduled RMarkdown

Publish the page with source, and schedule it to update periodically.

runtime: shiny

If you want your page to reflect changes to your content whenever it is visited, you can add runtime: shiny to the yaml frontmatter of your RMarkdown document.

title: an example page
ouput: html_document
runtime: shiny


rstudio/rscpages documentation built on June 1, 2025, 3:57 p.m.