Allow excluding attached names via `!`
- Dominant language
- R
- Stars
- 979
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
### Please describe your feature request
Enable the following syntax:
```r
box::use(stats[..., ! filter])
```
To import and attach all names from the ‘stats’ package, except the name `filter`. This comes in handy to avoid name conflicts between two attached packages (e.g. `stats::filter` and `dplyr::filter`) and makes order of import declarations less important.
Ensure that `!` declarations are only valid in conjunction with `...` wildcard declarations (since they are otherwise meaningless).
Contributor guide
Research direction
Start by tracing how box::use parses wildcard declarations and attaches names, using the shown stats[..., ! filter] syntax as the entry point. Ensure exclusions are accepted only alongside ..., and verify that filter is omitted while other stats names remain attached.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100