knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
This app demonstrates how to dynamically update a rank_list()
library(htmltools) tags$div( class = "shiny-app-frame", tags$iframe( src = "https://andrie-de-vries.shinyapps.io/sortable_update_rank_list_ui", width = 800, height = 700 ) )
And the full code:
knitr::read_chunk( system.file("shiny/update_rank_list_ui/app.R", package = "sortable") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.