~/talk

DIY Pest Control: Effectively Debugging Shiny Apps

Talkat ShinyConf 2023 · 2023-03-15..03-17· [testing]
name:Tan Ho
links:none on file
slides:none on file

Debugging workflow: use browser() interactive debugging to pause reactives and call functions live, use a debug action button to trigger any reactive, and build minimal reproducible apps either by peeling away complexity or by starting from a fresh Shiny snippet and adding back pieces. Move non-UI logic into plain R functions, write unit tests, and check argument types to avoid missing-reactive parentheses errors (a common closure not subsettable trap). Example: the DynastyProcess app serves over 200,000 monthly users and benefits from this separation.

AI-written summary · about

  1. 0:00Introduction to debugging Shiny
  2. 1:46Common Shiny error messages
  3. 5:57Building mental models for debugging
  4. 8:48Debugging with browser()
  5. 11:34Creating reproducible examples
  6. 13:59Keep Shiny simple with functions
  7. 16:25Debugging takeaways and mindset
  8. 17:28Q&A on debugging approaches
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.