As my code evolves from version to version, I\'m aware that there are some packages for which I\'ve found better/more appropriate packages for the task at hand or whose purp
My approach always is to close my R script or IDE (i.e. RStudio) and then start it again. After this I run my function without loading any dependecies/packages beforehand. This should result in various warning and error messages telling you which functions couldn't be found and executed. This again will give you hints on what packages are necessary to load beforehand and which one you can leave out.