[Rd] Library lib.loc Option Ignored for Dependencies

Dario Strbenac d@tr7320 @ending from uni@@ydney@edu@@u
Wed Jul 25 14:00:11 CEST 2018

Good day,

Indeed, the setting of .libPaths() would avoid the error shown by the example. But, it seems unintuitive that R tries to load a package from one directory and its dependencies from another if the dependency is present in the same library as the package being loaded by the user's library command. The documentation of library and its description of lib.loc doesn't suggest that the alternation of source directories would occur.

Dario Strbenac
University of Sydney
Camperdown NSW 2050

More information about the R-devel mailing list