Skip to content

Commit 41fda51

Browse files
committed
Revert "remove check_conflicts.action_tailor() (closes #228)"
This reverts commit 32c7150.
1 parent b4c3165 commit 41fda51

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

NAMESPACE

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ S3method(add_action_impl,action_pre)
77
S3method(augment,workflow)
88
S3method(check_conflicts,action_formula)
99
S3method(check_conflicts,action_recipe)
10+
S3method(check_conflicts,action_tailor)
1011
S3method(check_conflicts,action_variables)
1112
S3method(check_conflicts,default)
1213
S3method(extract_fit_engine,workflow)

R/post-action-tailor.R

+9
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,15 @@ mock_trained_workflow <- function(workflow) {
199199

200200
# ------------------------------------------------------------------------------
201201

202+
#' @export
203+
check_conflicts.action_tailor <- function(action, x, ..., call = caller_env()) {
204+
post <- x$post
205+
206+
invisible(action)
207+
}
208+
209+
# ------------------------------------------------------------------------------
210+
202211
new_action_tailor <- function(tailor, prop, method, ..., call = caller_env()) {
203212
check_dots_empty()
204213

0 commit comments

Comments
 (0)