Skip to content

Commit

Permalink
Added shinylive
Browse files Browse the repository at this point in the history
  • Loading branch information
royfrancis committed Mar 17, 2024
1 parent 766b941 commit 5b1d176
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
any::ggplot2
any::tinytex
any::hexbin
any::shinylive
- name: Setup quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
Expand Down
2 changes: 0 additions & 2 deletions documents/icons/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ format:
title-block-banner: true
toc: true
number-sections: true
theme: pulse
highlight: kate
code-tools: true
fig-align: left

Expand Down
16 changes: 8 additions & 8 deletions documents/shinylive/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ filters:
- shinylive
---

## Set up
## Setup

The `shinylive` R package is required locally when building the document.

```{r}
#| eval: false
install.packages("shinylive")
```

For quarto, add quarto filter `shinylive`.

Expand Down Expand Up @@ -120,13 +127,6 @@ server <- function(input, output, session) {
app <- shinyApp(ui = ui, server = server)
```

To convert existing shiny apps into shinylive apps, install `shinylive` R package locally:

```{r}
#| eval: false
remotes::install_github("posit-dev/r-shinylive")
```

## Acknowledgements

- <https://quarto.thecoatlessprofessor.com/r-shinylive-demo/>
Expand Down

0 comments on commit 5b1d176

Please sign in to comment.