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

Fix muddled namespaces and prevent integrating them from other packages #3

Closed
Martin-Jung opened this issue Mar 21, 2021 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@Martin-Jung
Copy link
Collaborator

Loading the package (CTRL+SHIFT+L) places the functions from all imported or dependend packages into the ibis.iSDM own namespace.
To reproduce:

  • Check available functions via ibis.iSDM:: (and press < TAB > ), showing functions such as extract from raster or INLA-related functions.

Similar but likely directly related bug:
Helpfiles from the ibis.iSDM package are not loaded. For instance after loading the package ?distribution does not point to the distribution function but instead to stats::distribution

@Martin-Jung Martin-Jung added the bug Something isn't working label Mar 21, 2021
@Martin-Jung Martin-Jung added this to To Do in ibis.iSDM release preparation via automation Mar 21, 2021
@matthewlewis896
Copy link

Possibly this is related to the change of package name - I've just noticed that sometimes we're using package = "ibis" and othertimes package = "ibis.iSDM". Going to dig into this more and see if that may be responsible.

Help page for distribution loads from ibis.iSDM for me and renders correctly. I only get the stats help page when trying ?stats::distribution and the ibis.iSDM when just using ?distribution

@Martin-Jung
Copy link
Collaborator Author

Requesting the namespace directly fixed the issue. See 122f5a5
Can potentially be done for other dependencies as well but should be mandatory for all engines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Development

No branches or pull requests

2 participants