Skip to content

Commit

Permalink
Add run cmd for shiny app
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kuethe committed Sep 17, 2024
1 parent 8607cf6 commit e71ce6a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
6 changes: 6 additions & 0 deletions vignettes/articles/shiny.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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")
```

0 comments on commit e71ce6a

Please sign in to comment.