Description:
If you write functions but are unsure of efficient strategies to identify the
source of errors then join this workshop to unlock your programming superpower
with debugging techniques! In this workshop, we will review code troubleshooting tips,
discuss debugging functions (traceback(), browser(), debug(), trace(), and recover()),
and distinguish between strategies for debugging your own code versus someone else’s code.
Learning goals:
- 
Review code troubleshooting tips.
 - 
Apply debugging functions (
traceback(),browser(),debug(),trace(), andrecover()) and identify the additional benefits of employing some of these strategies within RStudio. - 
Distinguish between strategies for debugging your own code versus someone else’s code.
 
Target audience: Individuals with experience writing functions but new to debugging.
- Please have a recent version of R and RStudio installed.
 
- R ≥ 4.2
 - RStudio ≥ 2024.04.1+748
 
- 
Install the following packages:
install.packages(c("usethis", devtools", "rlang")) - 
Please make sure your system is ready to build packages. You can confirm this by checking if
devtools::has_devel()returnsYour system is ready to build packages!. If this returnsCould not find tools necessary to compile a packagethis indicates your system needs additional tools - please see https://rstats-wtf.github.io/wtf-personal-radmin-slides/#/how-to-get-the-tools to identify what to install for your OS.