Skip to content

Commit

Permalink
Reinclude shinyMobile blog post (#58)
Browse files Browse the repository at this point in the history
* remote shinylive version

* update action

* another syntax

* descr

* add shinyMobile as dep
  • Loading branch information
DivadNojnarg authored Sep 5, 2024
1 parent 0995865 commit 7ab3566
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 34 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ jobs:
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
posit-dev/r-shinylive
any::knitr
any::rmarkdown
any::downlit
any::xml2
any::shinyMobile
cache-version: 2

- name: Render Quarto Project
uses: quarto-dev/quarto-actions/render@v2
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
/.quarto/
docs
.DS_Store

/.luarc.json
2 changes: 2 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ Imports:
xml2,
rmarkdown,
shinylive
Remotes:
posit-dev/r-shinylive

Large diffs are not rendered by default.

33 changes: 1 addition & 32 deletions posts/2024-05-13-shinyMobile-2.0.0/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ categories:
format:
html:
code-fold: true
filters:
filters:
- shinylive
draft: true
---

![](logo.png){width=25% fig-align="center"}
Expand Down Expand Up @@ -270,12 +269,6 @@ By updating to the latest Framework7 version, we now benefit from a totally reva
#| components: [viewer]
#| column: screen-inset-shaded
#| viewerHeight: 800
webr::unmount("/usr/lib/R/library/shinyMobile")
webr::install(
"shinyMobile",
repos = c("https://rinterface.github.io/rinterface-wasm-cran/")
)
library(shiny)
library(shinyMobile)
Expand Down Expand Up @@ -890,12 +883,6 @@ This adds a description to the input (below its main content), as well as the ou
#| components: [viewer]
#| column: screen-inset-shaded
#| viewerHeight: 800
webr::unmount("/usr/lib/R/library/shinyMobile")
webr::install(
"shinyMobile",
repos = c("https://rinterface.github.io/rinterface-wasm-cran/")
)
library(shiny)
library(shinyMobile)
Expand Down Expand Up @@ -1129,12 +1116,6 @@ Moreover, we added a new way to pass options to `f7Radio()` and `f7CheckboxGroup
#| components: [viewer]
#| column: screen-inset-shaded
#| viewerHeight: 800
webr::unmount("/usr/lib/R/library/shinyMobile")
webr::install(
"shinyMobile",
repos = c("https://rinterface.github.io/rinterface-wasm-cran/")
)
library(shiny)
library(shinyMobile)
Expand Down Expand Up @@ -1255,12 +1236,6 @@ This is ideal, for instance, to select files within multiple folders, as an alte
#| components: [viewer]
#| column: screen-inset-shaded
#| viewerHeight: 800
webr::unmount("/usr/lib/R/library/shinyMobile")
webr::install(
"shinyMobile",
repos = c("https://rinterface.github.io/rinterface-wasm-cran/")
)
library(shiny)
library(shinyMobile)
Expand Down Expand Up @@ -1390,12 +1365,6 @@ Shiny does not provide HTML forms handling out of the box (a [form](https://www.
#| column: screen-inset-shaded
#| viewerHeight: 800
#| viewerWidth: 390
webr::unmount("/usr/lib/R/library/shinyMobile")
webr::install(
"shinyMobile",
repos = c("https://rinterface.github.io/rinterface-wasm-cran/")
)
library(shiny)
library(shinyMobile)
Expand Down

0 comments on commit 7ab3566

Please sign in to comment.