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

Flag load_all environments #128

hadley opened this Issue Aug 9, 2012 · 2 comments


None yet
2 participants

hadley commented Aug 9, 2012

Package environments created with load_all should contain flag object (.devtools?) that makes it possible to tell if a package was loaded with library or load_all, and a function to make this easy.


This comment has been minimized.


wch commented Aug 9, 2012

I think a good way to do this is to add an object (either a list or an environment) in the package's namespace called .__DEVTOOLS__, which would hold the metadata. This is similar to how metadata about the namespace is stored, in an environment called .__NAMESPACE__.

It could also hold the status of .onLoad, and .onAttach, which are presently stored in variables in the namespace.


This comment has been minimized.


wch commented Aug 10, 2012

Implemented in #126.

@wch wch closed this Aug 10, 2012

@lock lock bot locked and limited conversation to collaborators Sep 19, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.