Skip to content
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

don't use glue::glue() in recipe step #5

Merged
merged 5 commits into from
Sep 30, 2023

Conversation

EmilHvitfeldt
Copy link
Contributor

Hello @ashbythorpe 👋

I was doing some work in recipes (tidymodels/recipes#1199) and step_nest() came up in some testing. The step produces glue objects which recipes doesn't know how to handle:

https://github.com/tidymodels/recipes/blob/914cdd443d49b77e22d2b651cb89aa23d0606e8a/R/misc.R#L158-L161

This PR changes the step so a factor is returned instead.

If you are able to pass this change along in a update on CRAN that would be very helpful. I'm planning to do a recipes release in about a month or so.

@ashbythorpe
Copy link
Owner

Thanks @EmilHvitfeldt! Will submit to CRAN soon.

@ashbythorpe ashbythorpe merged commit a6c1c29 into ashbythorpe:main Sep 30, 2023
6 of 7 checks passed
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 this pull request may close these issues.

2 participants