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

step_woe() printing #57

Closed
nhward opened this issue Oct 3, 2020 · 1 comment · Fixed by #60
Closed

step_woe() printing #57

nhward opened this issue Oct 3, 2020 · 1 comment · Fixed by #60

Comments

@nhward
Copy link

nhward commented Oct 3, 2020

The problem

I'm having trouble with printing a recipe that includes step_woe(). Other steps (printed via the recipe) produce a single line of explanation. Step_woe() looks like a raw print. Perhaps print.step_woe is not properly exported.

Reproducible example

library(recipes)
library(embed)
library(modeldata)
data("credit_data")

rec <- recipe(Status ~ ., data = credit_data) %>%
  step_center(all_numeric()) %>%
  step_woe(Job, Home, outcome = vars(Status)) %>%
  step_scale(all_numeric())

print("The printed recipe follows - Note that step_woe is a 'raw' print compared to step_center & step_scale")
print(rec)
topepo added a commit that referenced this issue Nov 7, 2020
@topepo topepo closed this as completed in #60 Nov 7, 2020
@github-actions
Copy link

github-actions bot commented Mar 6, 2021

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 Mar 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant