-
Notifications
You must be signed in to change notification settings - Fork 0
/
debug_print.qmd
88 lines (67 loc) · 1.45 KB
/
debug_print.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
# Print debugging {#sec-print-debug}
```{r}
#| label: _common
#| eval: true
#| echo: false
#| include: false
source("_common.R")
library(lobstr)
```
```{r}
#| label: co_box_dev
#| echo: false
#| results: asis
#| eval: true
co_box(
color = "r",
header = "Warning",
contents = "The contents for section are under development. 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 = 'debug')
```
Launch the app:
```{r}
#| code-fold: false
#| eval: false
launch(app = "23.1_debug-error")
```
Download the app:
```{r}
#| code-fold: false
#| eval: false
get_app(app = "23.1_debug-error")
```
:::
::::
```{r}
#| label: git_box_25.4_debug-print
#| echo: false
#| results: asis
#| eval: true
git_margin_box(
contents = "launch",
fig_pw = '65%',
branch = "25.4_debug-print",
repo = 'sap')
```