@@ -52,7 +52,7 @@ test_that("k-clusters default output object check", {
52
52
# Output table should be 3 rows
53
53
expect_equal(nrow(output_kclust $ OutputTable ), 3 )
54
54
# No nulls allowed in the output table
55
- expect_equal(ncol(output_kclust $ OutputTable [complete.cases(output_kclust $ OutputTable ), ]), 3 )
55
+ expect_equal(ncol(output_kclust $ OutputTable [complete.cases(output_kclust $ OutputTable ), ]), 11 )
56
56
# The segment lookup should not contain any NAs
57
57
expect_true(all(! is.na(output_kclust $ segments $ segment )))
58
58
expect_true(all(! is.na(output_kclust $ segments $ id )))
@@ -72,7 +72,7 @@ test_that("k-clusters custom output object check", {
72
72
# Output table should be 2 rows
73
73
expect_equal(nrow(output_kclust $ OutputTable ), 2 )
74
74
# No nulls allowed in the output table
75
- expect_equal(ncol(output_kclust $ OutputTable [complete.cases(output_kclust $ OutputTable ), ]), 3 )
75
+ expect_equal(ncol(output_kclust $ OutputTable [complete.cases(output_kclust $ OutputTable ), ]), 11 )
76
76
# The segment lookup should not contain any NAs
77
77
expect_true(all(! is.na(output_kclust $ segments $ segment )))
78
78
expect_true(all(! is.na(output_kclust $ segments $ id )))
0 commit comments