Skip to content
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

Closed
hadley opened this issue Aug 9, 2012 · 2 comments
Closed

Flag load_all environments #128

hadley opened this issue Aug 9, 2012 · 2 comments

Comments

@hadley
Copy link
Member

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.

@wch
Copy link
Member

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.

@wch
Copy link
Member

wch commented Aug 10, 2012

Implemented in #126.

@wch wch closed this as completed 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.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants