~/talk

Object of type ‘closure’ is not subsettable

Talkat rstudio::conf 2019 · 2019-01-15..01-18· [testing]
slides:none on file

R workflows start by restart R often and stop reloading/saving the workspace; reproducibility uses the repRex tooling to create tiny inlined examples. Debugging proceeds from traceback to traceback/recover/browser to inspect frames; a concrete bug shows minidat becoming a vector (rowMeans needs a 2D object) and the fix is subsetting with drop = FALSE plus tests for zero/one/two matches. Production practices include R CMD check, testthat unit tests, and CI across OSes.

AI-written summary · about

  1. 0:00Intro
  2. 3:33Poll
  3. 6:20Troubleshooting advice
  4. 7:25Restarting R
  5. 13:00Fresh Start
  6. 14:09Reptrix
  7. 15:04Work a small example
  8. 16:00Minimum reproducible example
  9. 16:44Reprex is both science and art
  10. 17:33Why is there an error
  11. 20:42The classic haystack exercise
  12. 21:19A wild caught problem
  13. 22:45Inline data
  14. 23:47Minimal Rep rex
  15. 24:20Rep rex size
  16. 25:07Getting your ducks in a row
  17. 27:19Error message
  18. 28:04Fruit average example
  19. 30:02Death metaphor
  20. 30:58Traceback
  21. 31:51Call Stack
  22. 36:44Source references
  23. 38:07Live browser
  24. 39:50Conclusion
  25. 41:07Future facing
  26. 41:32Package development
  27. 41:58Data analysis
  28. 42:17Pipeline assertion
  29. 44:00Continuous integration
  30. 44:50Bug magnets
  31. 46:09Douglas Adams quote
  32. 46:36Access panel
  33. 47:37Closure is not subsettable
  34. 49:16Dplyr example
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.