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

detect_step() is limited to recipes steps #869

Closed
EmilHvitfeldt opened this issue Dec 15, 2021 · 1 comment · Fixed by #870
Closed

detect_step() is limited to recipes steps #869

EmilHvitfeldt opened this issue Dec 15, 2021 · 1 comment · Fixed by #870
Labels
bug an unexpected problem or unintended behavior

Comments

@EmilHvitfeldt
Copy link
Member

EmilHvitfeldt commented Dec 15, 2021

detect_step() should not be limited to steps in {recipes}

library(recipes)
library(themis)

rec <- recipe(Species ~ ., data = iris) %>%
  step_intercept() %>%
  step_smote(Species)

detect_step(rec, "smote")
#> Error: Please provide the name of valid step or check (ex: `center`).

Created on 2021-12-15 by the reprex package (v2.0.1)

@EmilHvitfeldt EmilHvitfeldt added the bug an unexpected problem or unintended behavior label Dec 15, 2021
@github-actions
Copy link

github-actions bot commented Jan 4, 2022

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.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant