-
Notifications
You must be signed in to change notification settings - Fork 111
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
Allow list columns? #402
Comments
I think that we will eventually support this. I'll leave this open so that we can document thoughts/requirements here. |
It turns out that
The issue with formula originates from function |
An unexpected side-effect of #1283 means that recipes now support list-columns library(recipes)
test_data <- tibble::tibble(
a = list(mtcars, mtcars),
b = 1:2
)
recipe(test_data, b ~ .)
#>
#> ── Recipe ──────────────────────────────────────────────────────────────────────
#>
#> ── Inputs
#> Number of variables by role
#> outcome: 1
#> predictor: 1 |
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex https://reprex.tidyverse.org) and link to this issue. |
Minimal, reproducible example:
I understand this might be a weird case, but there are steps in textrecipes that expect a list column, and I've written a step of my own that expects a tibble. I was trying to do some of the setup (which involves a java engine and didn't play nice with parallel) outside of the recipe, and then use that data in a couple different recipes, but recipes won't let me start with a list. I can understand this error if it comes out of the prep as a list, but I'm not done with it yet.
The text was updated successfully, but these errors were encountered: