-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make packages loadable via import
#45
Comments
Hmm.
… or something else entirely? |
|
Loading and dispatching the documentation attached to the package is tricky. I’ll omit this for now and I’ve opened an own issue for that (#54). The prototype I’m currently working on probably has additional problems concerning the dispatch of S4 methods and operators. However, this seems to work in my ad-hoc tests. I’ll therefore release the preliminary prototype now in order to get feedback from real-life testing. |
Add a mechanism to make installed packages available via
import
.This would have the following advantages over
library
:Uniform API for accessing library code
Doesn’t clutter the search path by default – encourages better style
Allows adapting the name for accessing packages (instead of having hard-coded
pkg_name::
)Supports loading and using packages locally only; consider:
Now
pkg
is attached, but only insidefrob
– just like normal modules, but unlike loading a package vialibrary
.The text was updated successfully, but these errors were encountered: