insightsengineering / insightsengineering/teal.data
Simplify `extract_occurrence()` in `get_code_dependency`
Open
core
enhancement
- Dominant language
- R
- Stars
- 11
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Slowly, step by step, with every PR, we do cover more and more edge cases covered by `get_code_dependency()`. However this comes with a cost of `extract_occurrence()` becoming way too long. This card is raised to refactor this function and make it more readable. Comments in the code are welcome as well!
Contributor guide
Assessment
This issue has not been assessed yet.