Commit 512f08a
committed
Simplify&flatten epi_slide data mask implementation
and add some unrelated comments regarding time value counting details.
Since we're not potentially dealing with R6 objects, we can just us
`as_data_mask(.x)`. We can also flatten the data mask by installing the `.x`,
`.group_key` and `.ref_time_value` in the same way as that pronouns are
installed (except keeping their original classes, not converting to pronouns),
rather than using another level in the environment chain for the data mask.1 parent 9db1165 commit 512f08a
1 file changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
303 | 305 | | |
304 | 306 | | |
305 | 307 | | |
| |||
386 | 388 | | |
387 | 389 | | |
388 | 390 | | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
| |||
0 commit comments