Add deterministic R extraction#2150
Draft
forhappy wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.rand.Rsource filesRscriptexecutables.ejsfixturesWhy
Graphify classifies R files and
Rscriptexecutables as code, but previously had no extractor for them. Those files therefore contributed no nodes and appeared in the unsupported-language warning. Compass already implements the same deterministic extraction contract, so Graphify needs the matching implementation for extraction parity.User impact
R repositories now contribute file/function nodes, package-import edges, nested-function containment, and local call relationships without requiring an optional tree-sitter grammar.
Validation
344 passedacrosstests/test_extract.py,tests/test_extractors_registry.py, andtests/test_detect.py3 passedin the dedicated R extractor suitepython3 -m compileall -q graphify/extractors/r.pygit diff --checkgraphify update .