From 0ea505c1f35268bbba59f0b0695ae65340b781d1 Mon Sep 17 00:00:00 2001 From: simonpcouch Date: Mon, 3 Jun 2024 10:14:01 -0500 Subject: [PATCH] update name of internal workflows function --- R/grid_code_paths.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/R/grid_code_paths.R b/R/grid_code_paths.R index 1290acb4..dfa71df3 100644 --- a/R/grid_code_paths.R +++ b/R/grid_code_paths.R @@ -384,7 +384,7 @@ tune_grid_loop_iter <- function(split, assessment_rows <- as.integer(split, data = "assessment") assessment <- vctrs::vec_slice(split$data, assessment_rows) - if (workflows::should_inner_split(workflow)) { + if (workflows::.should_inner_split(workflow)) { # if the workflow has a postprocessor that needs training (i.e. calibration), # further split the analysis data into an "inner" analysis and # assessment set. @@ -504,7 +504,7 @@ tune_grid_loop_iter <- function(split, iter_grid_model ) - if (!workflows::should_inner_split(workflow)) { + if (!workflows::.should_inner_split(workflow)) { elt_extract <- .catch_and_log( extract_details(workflow, control$extract), control, @@ -535,7 +535,7 @@ tune_grid_loop_iter <- function(split, next } - if (workflows::should_inner_split(workflow)) { + if (workflows::.should_inner_split(workflow)) { # note that, since we're training a postprocessor, `iter_predictions` # are the predictions from the potato set rather than the # assessment set