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)