rticulate / import

An Import Mechanism For R
https://import.rticulate.org
Other
222 stars 14 forks source link

Default of .library parameter, and order of loadNamespace() and getNamespaceExports() #70

Closed torfason closed 2 years ago

torfason commented 2 years ago

Reimplement (revert the reversion of) switching the order of loadNamespace() and getNamespaceExports(), followed by the change of default value of .library parameter to .libPaths(), which is necessary for things to work correctly with the new order of operation (previous order resulted in.libPaths()being used implicitly, even though the default value was.libPaths()[1L]`. The final commit documents the change and bumps the version.

See #56 for a detailed discussion.

torfason commented 2 years ago

Thanks, @awong234! I made some minor changes reflecting your comments, and then merged this, into dev and all the way into main. Installations from GitHub, using pak::pak("rticulate/import") or other methods, should now use this version.