Add support for meta-packages like `library(tidyverse)`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 337
- Forks
- 32
- Avg merge
- 8d 17h
- Merged PRs (30d)
- 11
Description
Currently Oak doesn't understand that these packages attach other packages to the search path because these are not listed in Depends:: https://github.com/cran/tidyverse/blob/ddc25807d108573956185472213bcdfc17660204/DESCRIPTION#L17
Ideally we'd add support for a declare() annotation that describes what happens in .onAttach(): https://github.com/cran/tidyverse/blob/ddc25807d108573956185472213bcdfc17660204/R/zzz.R#L1. For now we can just hardcode the semantics for tidyverse and tidymodels.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked tidyverse DESCRIPTION and R/zzz.R files to understand the missing attachment semantics, then locate Ark's package and search-path handling. Compare the proposed declare() annotation with hardcoded support for tidyverse and tidymodels; done means library(tidyverse) and library(tidymodels) expose their attached packages correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100