Skip to content

Commit 17dcca5

Browse files
committed
typo
1 parent 9780807 commit 17dcca5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
* `step_collapse_stringdist()` will now return predictors as factors. (#204)
44

5+
* Fixed regression from 1.1.2 in `step_lencode_glm()` where it couldn't be used on multiple columns.
6+
57
# embed 1.1.2
68

79
## Improvements

R/lencode_glm.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ bake.step_lencode_glm <- function(object, new_data, ...) {
203203
for (col_name in col_names) {
204204
new_data[[col_name]] <- map_glm_coef(
205205
dat = new_data[, col_name], # map_glm_coef() expects a tibble
206-
mapping = object$mapping[[col_names]]
206+
mapping = object$mapping[[col_name]]
207207
)
208208
}
209209

0 commit comments

Comments
 (0)