Skip to content

Commit b0c031b

Browse files
committed
actually use environment with weights
1 parent aba6b1a commit b0c031b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

R/partykit.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,8 @@ cforest_train <-
171171
eval_env$data <- data
172172
eval_env$formula <- formula
173173
eval_env$weights <- weights
174-
rlang::eval_tidy(forest_call, env = eval_env)
175174

176-
rlang::eval_tidy(forest_call)
175+
rlang::eval_tidy(forest_call, env = eval_env)
177176
}
178177

179178
# ------------------------------------------------------------------------------

0 commit comments

Comments
 (0)