Skip to content

Commit f7d7d04

Browse files
Merge pull request #190 from tidymodels/clistMixType-new-type
fix clustMixType test
2 parents 7fff600 + 0e28b59 commit f7d7d04

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

NEWS.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# tidyclust (development version)
22

3+
* Update to fix revdep issue for clustMixType. (#190)
4+
35
# tidyclust 0.2.2
46

57
* Update to fix revdep issue for ClusterR. (#186)

tests/testthat/test-k_means-clustMixType.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ test_that("fitting", {
1313
res <- fit_xy(spec, iris)
1414
)
1515

16-
expect_identical(res$fit$type, "standard")
16+
expect_true(res$fit$type %in% c("standard", "huang"))
1717

1818
spec <- k_means(num_clusters = 3) %>%
1919
set_engine("clustMixType", type = "gower")

0 commit comments

Comments
 (0)