-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnon_r_code.qmd
75 lines (56 loc) · 1.24 KB
/
non_r_code.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
# Non-R Code {#sec-non-r-code}
```{r}
#| eval: true
#| echo: false
#| include: false
source("_common.R")
```
```{r}
#| label: co_box_dev
#| echo: false
#| results: asis
#| eval: true
co_box(
color = "y",
header = "Caution",
contents = "The contents for section are being revised. Thank you for your patience."
)
```
:::: {.callout-tip collapse='true' appearance='default'}
## [Accessing applications]{style='font-weight: bold; font-size: 1.15em;'}
::: {style='font-size: 0.95em; color: #282b2d;'}
I've created the [`shinypak` R package](https://mjfrigaard.github.io/shinypak/) In an effort to make each section accessible and easy to follow:
Install `shinypak` using `pak` (or `remotes`):
```{r}
#| code-fold: false
#| message: false
#| warning: false
#| eval: false
# install.packages('pak')
pak::pak('mjfrigaard/shinypak')
```
Review the chapters in each section:
```{r}
#| code-fold: false
#| message: false
#| warning: false
#| collapse: true
library(shinypak)
list_apps(regex = '^21')
```
Launch an app with `launch()`
```{r}
#| code-fold: false
#| eval: false
launch(app = "21_style")
```
Download an app with `get_app()`
```{r}
#| code-fold: false
#| eval: false
get_app(app = "21_style")
```
:::
::::
## HTML & CSS
## JavaScript