I'm in the process of creating my first package. In a lot of situations, I get ideas from someone else's function, and attempt to utilize how they went about doing something from their code.
Is there a suggested way to systematically review someone else's code in order to understand the arguments, and the steps that get to the result of the function?
I currently fork the repo, and manually execute the code line by line. It gets a little more complex with functions embedded within functions.
Thanks in advance, and look forward to suggestions!