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

Search for package dependencies in R code files #388

Merged
merged 44 commits into from
Nov 5, 2024
Merged

Conversation

gaborcsardi
Copy link
Member

@gaborcsardi gaborcsardi commented Oct 17, 2024

Partially addresses #390.

But needs a small refectoring with the predicate
matching.
Still not correct for quantified queries.
Predicates are still not correct.
It is only slightly faster, though.
Instead of re-creating it.
For predicates and quantification.
Parse each interesting call individually, faster and
simpler than trying to match complicated calls.
- return end poisitions, we'll need it for markdown
  parsing
- add markdown
- add markdown_inline
TS uses the end position + 1 as the end position,
translate that correctly to R, where we use the
inclusive 1-based end position.
- filter out calls from the wrong package
- add support for modules
@gaborcsardi gaborcsardi merged commit 7ced555 into main Nov 5, 2024
10 checks passed
@gaborcsardi gaborcsardi deleted the feature/deps branch November 5, 2024 10:19
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.

1 participant