Hey. We need to refactor get_code_dependency function.
Try to make it as much readable as possible and as simple as possible, but in the meantime keep all the crucial functionality.
Once you are done with the refactor please run devtools::test() to see if all the tests pass, and if you broke get_code tests, then keep iterating until you fix all issues.