Huge thanks to Hannah Frick for her useful feedback on this post! Vielen Dank!

This post was featured on the R Weekly podcast by Eric Nantz.

When trying to fix a bug or add a feature to an R package, how do you go from viewing the code as a big messy ball of wool, to a logical diagram that you can bend to your will? In this post, I will share some resources and tips on getting better at debugging and reading code, written by someone else (or yourself but …