Skip to content

Commit b62dcc6

Browse files
committed
fix: delete unused function
1 parent fbab80b commit b62dcc6

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

R/layer_yeo_johnson.r

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -241,16 +241,3 @@ get_lambdas_in_layer <- function(workflow) {
241241
}
242242
lambdas
243243
}
244-
245-
get_transformed_cols_in_layer <- function(workflow) {
246-
this_recipe <- hardhat::extract_recipe(workflow)
247-
if (!(this_recipe %>% recipes::detect_step("epi_YeoJohnson"))) {
248-
cli_abort("`layer_epi_YeoJohnson` requires `step_epi_YeoJohnson` in the recipe.", call = rlang::caller_env())
249-
}
250-
for (step in this_recipe$steps) {
251-
if (inherits(step, "step_epi_YeoJohnson")) {
252-
lambdas <- step$lambdas
253-
break
254-
}
255-
}
256-
}

0 commit comments

Comments
 (0)