sum_of() does not appear to work with tidyselect
Open
- Dominant language
- R
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
mtcars %>% mutate(x := sum_of(ends_with("t")))
# Error: Problem with `mutate()` input `x`.
# x `ends_with()` must be used within a *selecting* function.
# ℹ See .
# ℹ Input `x` is `sum_of(ends_with("t"))`.
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the mtcars example from the issue and inspect the sum_of() entry point and its interaction with tidyselect. The issue names no files or tests, so locate the relevant implementation and existing selection-context coverage first. Done means the shown mutate() expression works with ends_with("t") without the selecting-context error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100