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

Include all exports in namespace objects #591

Merged
merged 4 commits into from
Jan 5, 2023

Conversation

renkun-ken
Copy link
Member

Closes #590

objects(ns) does not include all exports such as rvest::read_html() (from xml2) and purrr:set_names() (from rlang). This PR makes the Namespace object include all namespace objects and all exports (not necessarily live in the same namespace).

@randy3k
Copy link
Member

randy3k commented Jan 5, 2023

Oh, you are 4 minutes faster than mine, I have just pushed https://github.com/REditorSupport/languageserver/tree/reexport
And our commits are basically the same :)

R/namespace.R Show resolved Hide resolved
@renkun-ken
Copy link
Member Author

renkun-ken commented Jan 5, 2023

Oh, you are 4 minutes faster than mine, I have just pushed https://github.com/REditorSupport/languageserver/tree/reexport And our commits are basically the same :)

Didn't notice your commits while adding a test case for this. 😄

@renkun-ken renkun-ken merged commit e84d950 into REditorSupport:master Jan 5, 2023
@renkun-ken renkun-ken mentioned this pull request Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

package::function() autocompletion doesn't include re-exported functions
2 participants