13  Logging

Published

2024-10-01


Debugging plays a crucial role in ensuring that our app works as expected and integrates seamlessly into the R package structure.

Logging…

I’ve created the shinypak R package In an effort to make each section accessible and easy to follow:

Install shinypak using pak (or remotes):

# install.packages('pak')
pak::pak('mjfrigaard/shinypak')

Review the chapters in each section:

library(shinypak)
list_apps(regex = 'debug')
## # A tibble: 6 × 2
##   branch                   last_updated       
##   <chr>                    <dttm>             
## 1 10_debugger              2024-12-15 03:02:26
## 2 11_debug-print           2024-11-20 22:09:54
## 3 15_debug-util-funs       2024-09-04 10:06:57
## 4 25.1_debug-selected_vars 2024-01-15 10:29:25
## 5 25.2_debug-var_inputs    2024-01-15 10:25:12
## 6 25.4_debug-print         2024-01-15 10:04:21

Launch the app:

launch(app = "23.1_debug-error")

Download the app:

get_app(app = "23.1_debug-error")