diff --git a/README.Rmd b/README.Rmd index 453e196..08e2524 100644 --- a/README.Rmd +++ b/README.Rmd @@ -76,6 +76,12 @@ tabulator(airquality) |> tabulator(data = list(), spreadsheet = TRUE) ``` +## Shiny + +``` r +shiny::runGitHub("eodaGmbH/rtabulator", subdir = "examples/shiny/titanic") +``` + ## Documentation [rtabulator docs](https://eodagmbh.github.io/rtabulator/) diff --git a/README.md b/README.md index 7906014..4601810 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,12 @@ tabulator(airquality) |> tabulator(data = list(), spreadsheet = TRUE) ``` +## Shiny + +``` r +shiny::runGitHub("eodaGmbH/rtabulator", subdir = "examples/shiny/titanic") +``` + ## Documentation [rtabulator docs](https://eodagmbh.github.io/rtabulator/) diff --git a/vignettes/articles/shiny.Rmd b/vignettes/articles/shiny.Rmd index 2a3c857..7ea225a 100644 --- a/vignettes/articles/shiny.Rmd +++ b/vignettes/articles/shiny.Rmd @@ -137,3 +137,9 @@ server <- function(input, output) { shinyApp(ui = ui, server = server) ``` + +Run this example with: + +```{r, eval=FALSE} +shiny::runGitHub("eodaGmbH/rtabulator", subdir = "examples/shiny/titanic") +```