Skip to content

Trigger on Packages with Known Information#2472

Draft
EagleoutIce wants to merge 10 commits into
mainfrom
2072-trigger-known-packages
Draft

Trigger on Packages with Known Information#2472
EagleoutIce wants to merge 10 commits into
mainfrom
2072-trigger-known-packages

Conversation

@EagleoutIce
Copy link
Copy Markdown
Member

@EagleoutIce EagleoutIce commented May 6, 2026

Still open:

  • Correctly identify the name of the package that is loaded, not just the lexeme (e.g., with: x <- "foo"; library(x, character.only = TRUE) should recognize that we load foo and not x, likewise with the lapply etc. pattern)
  • Not every exported symbol is a function call => we need information for each symbol, whether it is (not-)callable!
  • We need to follow "re-exports" with import etc. (import(grid)); but we have to check whether already loaded
  • We need to support exportPattern...

In the future, we want to include the information and we have to respect versions.

@EagleoutIce EagleoutIce linked an issue May 6, 2026 that may be closed by this pull request
Naomi Panda and others added 8 commits May 16, 2026 18:13
a call to importFrom does now not lead to adding all imports of the dependency that is imported by this call as well anymore but only adds the specified functions; namespace_env is now not added anymore, instead the imports_env  is added as the parent of the package_env
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.

Trigger known packages!

1 participant