Commit adc367f
committed
Remove improper and faulty tidyselect usage from group_by tests
- Directly "passing" a reference to a character vector object is ambiguous; we
might want to test that we trigger the message about this, but this might
require mucking about in the internals of tidyselect (it seems to have its own
frequency mechanism separate from rlang conditions).
- `tidyselect::eval_select` doesn't support `!!!`, but testthat expectations
somehow makes this empty out the `group_by` arg, which _coincidentally_ passes
the tests, because the default for the test archive is to group by `geo_value`.
Plus, `!!!` is intended to splice/splat a list of language objects, not a
character vector.1 parent e26f6dd commit adc367f
1 file changed
+7
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
86 | 90 | | |
87 | 91 | | |
88 | 92 | | |
89 | 93 | | |
90 | 94 | | |
91 | | - | |
| 95 | + | |
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
| |||
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
| 104 | + | |
122 | 105 | | |
123 | 106 | | |
124 | 107 | | |
| |||
0 commit comments