title: R: How to check if the libraries that I am loading, I use them for my code in R?
body: <p>I have used several packages of R libraries for my study. All libraries charge together at the beginning of my code. And here is the problem. It turns out that I have done several tests with different functions that were already in the packages of R. However, in the final code I have not implemented all the functions I have tried. Therefore, I am loading libraries that I do not use. </p>
  
  <p><strong>Would there be any way to check the libraries to know if they really are necessary for my code?</strong></p>