From e71ce6a486f49071f1bb0dbeb803c4d85f3b9a58 Mon Sep 17 00:00:00 2001 From: Stefan Kuethe Date: Tue, 17 Sep 2024 17:54:15 +0200 Subject: [PATCH] Add run cmd for shiny app --- README.Rmd | 6 ++++++ README.md | 6 ++++++ vignettes/articles/shiny.Rmd | 6 ++++++ 3 files changed, 18 insertions(+) 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") +```