Skip to content

Force .f argument usage in epix_slide #529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task
dshemetov opened this issue Sep 27, 2024 · 0 comments · Fixed by #533
Closed
1 task

Force .f argument usage in epix_slide #529

dshemetov opened this issue Sep 27, 2024 · 0 comments · Fixed by #533
Assignees

Comments

@dshemetov
Copy link
Contributor

  • issue?: unclear error message here
archive_cases_dv_subset %>% group_by(geo_value) %>% epix_slide(.before = 6, tibble(slide_value = mean(.x$percent_cli)))
Error: object '.x' not found

We should probably capture + generate a better error message by forcing .f at the beginning; a fix is to insert an extra comma so this is sent to ... rather than .f and can be considered for tidyeval unnamed tibble column unpacking. Seems like probably an issue that already existed. It'd be nice to just let this expression through in .f, but I think I already have a dedicated separate issue for this and it is not as simple as it sounds.

Originally posted by @brookslogan in #477 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants