Skip to content

Outcome check for boost_tree(engine = "C5.0") broken? #1378

Description

@hfrick

This test has the comment "outcome is not a factor" so I would expect the snapshot to capture a related error

# outcome is not a factor:
expect_snapshot(
error = TRUE,
res <- fit(
lc_basic,
funded_amnt ~ term,
data = lending_club,
engine = "C5.0",
control = ctrl
)
)

However, the snapshot shows:

# C5.0 execution
Code
res <- fit(lc_basic, funded_amnt ~ term, data = lending_club, engine = "C5.0",
control = ctrl)
Condition
Error in `.convert_form_to_xy_fit()`:
! The argument `engine` cannot be used to create the data.
Possible arguments are subset or weights.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions