We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbab80b commit b62dcc6Copy full SHA for b62dcc6
R/layer_yeo_johnson.r
@@ -241,16 +241,3 @@ get_lambdas_in_layer <- function(workflow) {
241
}
242
lambdas
243
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