I want to programatically save some packages my script has loaded (I mean the actual directory).
I know doing .libPaths()
shows the paths where the packages can come from (though I could also load it from somewhere different).
Is there an already build function to get where a package that I loaded comes from ?