Skip to content

Commit 9ff25ed

Browse files
authored
Merge pull request #1150 from tidymodels/fix-1148
remove unused helper functions
2 parents 6677c46 + c31d971 commit 9ff25ed

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

R/loop_over_all_stages-helpers.R

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -166,24 +166,6 @@ get_sub_param <- function(x) {
166166
has_tailor <- function(x) {
167167
"tailor" %in% names(x$post$actions)
168168
}
169-
170-
has_tailor_tuned <- function(x) {
171-
if (!has_tailor(x)) {
172-
res <- FALSE
173-
} else {
174-
res <- any(tune_args(x)$source == "tailor")
175-
}
176-
res
177-
}
178-
has_tailor_estimated <- function(x) {
179-
if (!has_tailor(x)) {
180-
res <- FALSE
181-
} else {
182-
post <- hardhat::extract_postprocessor(x)
183-
res <- tailor::tailor_requires_fit(post)
184-
}
185-
res
186-
}
187169
# nocov end
188170

189171
# ------------------------------------------------------------------------------

0 commit comments

Comments
 (0)