Making functions less of a "black box" with debug() in R Studio