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:
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.