-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathframeworks.qmd
154 lines (104 loc) · 3.18 KB
/
frameworks.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# Frameworks {#sec-frameworks .unnumbered}
```{r}
#| label: _common
#| eval: true
#| echo: false
#| include: false
source("_common.R")
library(shinypak)
```
![](images/tri_hex.png){fig-align="center" width=320}
```{r}
#| eval: true
#| echo: false
#| include: false
source("_common.R")
```
## Shiny frameworks
This section covers four popular Shiny frameworks:
::: {layout="[20, 80]"}
![](images/goelm.png){fig-align="left" width="100"}
### gap
[`gap`](golem.qmd) is a [`golem`](https://thinkr-open.github.io/golem/) app-package
:::
:::: {.callout-tip collapse='true' appearance='default'}
#### [Chapter 22 Applications]{style='font-weight: bold; font-size: 1.15em;'}
::: {style='font-size: 0.95em; color: #282b2d;'}
The applications in Chapter 22 (`golem`) can be accessed with the `launch()` or `get()` functions from the [`shinypak` R package](https://mjfrigaard.github.io/shinypak/):
```{r}
#| code-fold: false
#| message: false
#| warning: false
#| eval: false
# install.packages('pak')
pak::pak('mjfrigaard/shinypak')
library(shinypak)
```
Chapter 22 applications:
```{r}
#| code-fold: false
#| message: false
#| warning: false
#| collapse: true
list_apps(regex = '^22')
```
:::
::::
::: {layout="[20, 80]"}
![](images/leprechaun.png){fig-align="left" width="100"}
### lap
[`lap`](leprechaun.qmd) is a [`leprechaun`](https://leprechaun.opifex.org/#/) app-package
:::
:::: {.callout-tip collapse='true' appearance='default'}
#### [Chapter 23 Applications]{style='font-weight: bold; font-size: 1.15em;'}
::: {style='font-size: 0.95em; color: #282b2d;'}
The applications in Chapter 23 (`leprechaun`) can be accessed with the `launch()` or `get()` functions from the [`shinypak` R package](https://mjfrigaard.github.io/shinypak/):
```{r}
#| code-fold: false
#| message: false
#| warning: false
#| eval: false
# install.packages('pak')
pak::pak('mjfrigaard/shinypak')
library(shinypak)
```
Chapter 23 applications:
```{r}
#| code-fold: false
#| message: false
#| warning: false
#| collapse: true
list_apps(regex = '^23')
```
:::
::::
::: {layout="[20, 80]"}
![](images/rhino.png){fig-align="left" width="100"}
### rap
[`rap`](rhino.qmd) is a [`rhino`](https://appsilon.github.io/rhino/) app (pseudo-package)[^rhino-non-pkg]
[^rhino-non-pkg]: `rhino` apps aren't R packages--they're dependencies are managed with a `dependencies.R` file and [`box`](https://klmr.me/box/) modules.
:::
:::: {.callout-tip collapse='true' appearance='default'}
#### [Chapter 24 Applications]{style='font-weight: bold; font-size: 1.15em;'}
::: {style='font-size: 0.95em; color: #282b2d;'}
The applications in Chapter 24 (`rhino`) can be accessed with the `launch()` or `get()` functions from the [`shinypak` R package](https://mjfrigaard.github.io/shinypak/):
```{r}
#| code-fold: false
#| message: false
#| warning: false
#| eval: false
# install.packages('pak')
pak::pak('mjfrigaard/shinypak')
library(shinypak)
```
Chapter 24 applications:
```{r}
#| code-fold: false
#| message: false
#| warning: false
#| collapse: true
list_apps(regex = '^24')
```
:::
::::
For a complete description of how each application was created, see the [Shiny frameworks supplemental website](https://mjfrigaard.github.io/sfw/).