Are there any good tools for discovering _intra_package dependencies (dependencies within a package - like a function defined in the package being called elsewhere in the package)? Unfortunately, since dependencies with other packages are a well-explored issue, content on _inter_package dependencies (dependencies with other packages) drown out my results.
For example, if I'm considering changes to a function to my package, it would be awesome to have some sort of utility to search all of the files in my package for the string containing my function name and visualize where else the function name shows up in the R/ folder (even better if also in documentation, vignettes, RMarkdown templates, etc.; and both upstream and downstream interactions might also be helpful.)
Obviously, it's pretty trivial to just search through all the text files on the command line, but I'm interested if anyone has any other good approaches.