Last updated on 2026-03-02 11:51:49 CET.
| Package | ERROR | OK |
|---|---|---|
| clustord | 3 | 11 |
Current CRAN status: ERROR: 3, OK: 11
Version: 2.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [62s/63s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(clustord)
>
> test_check("clustord")
Saving _problems/test_reorder_row-772.R
Saving _problems/test_reorder_row-773.R
Saving _problems/test_reorder_row-775.R
Saving _problems/test_reorder_row-786.R
Saving _problems/test_reorder_row-788.R
Saving _problems/test_reorder_row-791.R
Saving _problems/test_reorder_row-792.R
Saving _problems/test_reorder_row-796.R
Saving _problems/test_reorder_row-797.R
Saving _problems/test_reorder_row-805.R
Saving _problems/test_reorder_row-806.R
Saving _problems/test_reorder_row-808.R
Saving _problems/test_reorder_row-822.R
Saving _problems/test_reorder_row-823.R
Saving _problems/test_reorder_row-825.R
Saving _problems/test_reorder_row-836.R
Saving _problems/test_reorder_row-838.R
Saving _problems/test_reorder_row-842.R
Saving _problems/test_reorder_row-843.R
Saving _problems/test_reorder_row-847.R
Saving _problems/test_reorder_row-848.R
Saving _problems/test_reorder_row-855.R
Saving _problems/test_reorder_row-856.R
Saving _problems/test_reorder_row-858.R
Saving _problems/test_reorder_row-873.R
Saving _problems/test_reorder_row-874.R
Saving _problems/test_reorder_row-876.R
Saving _problems/test_reorder_row-880.R
Saving _problems/test_reorder_row-882.R
Saving _problems/test_reorder_row-885.R
Saving _problems/test_reorder_row-886.R
Saving _problems/test_reorder_row-887.R
Saving _problems/test_reorder_row-890.R
Saving _problems/test_reorder_row-891.R
Saving _problems/test_reorder_row-892.R
Saving _problems/test_reorder_row-899.R
Saving _problems/test_reorder_row-902.R
Saving _problems/test_reorder_row-912.R
Saving _problems/test_reorder_row-913.R
Saving _problems/test_reorder_row-915.R
Saving _problems/test_reorder_row-920.R
Saving _problems/test_reorder_row-922.R
Saving _problems/test_reorder_row-925.R
Saving _problems/test_reorder_row-926.R
Saving _problems/test_reorder_row-927.R
Saving _problems/test_reorder_row-930.R
Saving _problems/test_reorder_row-931.R
Saving _problems/test_reorder_row-932.R
Saving _problems/test_reorder_row-939.R
Saving _problems/test_reorder_row-942.R
Saving _problems/test_reorder_row-956.R
Saving _problems/test_reorder_row-957.R
Saving _problems/test_reorder_row-959.R
Saving _problems/test_reorder_row-963.R
Saving _problems/test_reorder_row-965.R
Saving _problems/test_reorder_row-968.R
Saving _problems/test_reorder_row-970.R
Saving _problems/test_reorder_row-973.R
Saving _problems/test_reorder_row-975.R
Saving _problems/test_reorder_row-982.R
Saving _problems/test_reorder_row-983.R
Saving _problems/test_reorder_row-985.R
Saving _problems/test_reorder_row-994.R
Saving _problems/test_reorder_row-995.R
Saving _problems/test_reorder_row-997.R
Saving _problems/test_reorder_row-1001.R
Saving _problems/test_reorder_row-1003.R
Saving _problems/test_reorder_row-1006.R
Saving _problems/test_reorder_row-1008.R
Saving _problems/test_reorder_row-1011.R
Saving _problems/test_reorder_row-1013.R
Saving _problems/test_reorder_row-1020.R
Saving _problems/test_reorder_row-1021.R
Saving _problems/test_reorder_row-1023.R
Saving _problems/test_reorder_row-1117.R
Saving _problems/test_reorder_row-1120.R
Saving _problems/test_reorder_row-1126.R
Saving _problems/test_reorder_row-1128.R
Saving _problems/test_reorder_row-1144.R
Saving _problems/test_reorder_row-1147.R
Saving _problems/test_reorder_row-1157.R
Saving _problems/test_reorder_row-1160.R
Saving _problems/test_reorder_row-1166.R
Saving _problems/test_reorder_row-1168.R
Saving _problems/test_reorder_row-1184.R
Saving _problems/test_reorder_row-1187.R
Saving _problems/test_reorder_row-1202.R
Saving _problems/test_reorder_row-1203.R
Saving _problems/test_reorder_row-1205.R
Saving _problems/test_reorder_row-1209.R
Saving _problems/test_reorder_row-1211.R
Saving _problems/test_reorder_row-1214.R
Saving _problems/test_reorder_row-1215.R
Saving _problems/test_reorder_row-1220.R
Saving _problems/test_reorder_row-1221.R
Saving _problems/test_reorder_row-1227.R
Saving _problems/test_reorder_row-1228.R
Saving _problems/test_reorder_row-1230.R
Saving _problems/test_reorder_row-1239.R
Saving _problems/test_reorder_row-1240.R
Saving _problems/test_reorder_row-1242.R
Saving _problems/test_reorder_row-1246.R
Saving _problems/test_reorder_row-1248.R
Saving _problems/test_reorder_row-1251.R
Saving _problems/test_reorder_row-1252.R
Saving _problems/test_reorder_row-1256.R
Saving _problems/test_reorder_row-1257.R
Saving _problems/test_reorder_row-1264.R
Saving _problems/test_reorder_row-1265.R
Saving _problems/test_reorder_row-1267.R
Saving _problems/test_reorder_row-1294.R
Saving _problems/test_reorder_row-1295.R
Saving _problems/test_reorder_row-1297.R
Saving _problems/test_reorder_row-1301.R
Saving _problems/test_reorder_row-1303.R
Saving _problems/test_reorder_row-1306.R
Saving _problems/test_reorder_row-1307.R
Saving _problems/test_reorder_row-1311.R
Saving _problems/test_reorder_row-1312.R
Saving _problems/test_reorder_row-1320.R
Saving _problems/test_reorder_row-1321.R
Saving _problems/test_reorder_row-1323.R
Saving _problems/test_reorder_row-1332.R
Saving _problems/test_reorder_row-1333.R
Saving _problems/test_reorder_row-1335.R
Saving _problems/test_reorder_row-1337.R
Saving _problems/test_reorder_row-1339.R
Saving _problems/test_reorder_row-1341.R
Saving _problems/test_reorder_row-1343.R
Saving _problems/test_reorder_row-1350.R
Saving _problems/test_reorder_row-1351.R
Saving _problems/test_reorder_row-1353.R
[ FAIL 132 | WARN 0 | SKIP 0 | PASS 3181 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_reorder_row.R:772:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 3, 4, 2)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:773:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 3, 4, 2), ]`.
Differences:
2/4 mismatches (average diff: 0.0566)
[2] 0.269 - 0.213 == 0.0566
[3] 0.213 - 0.269 == -0.0566
── Failure ('test_reorder_row.R:775:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 3, 4, 2)]`.
Differences:
2/4 mismatches (average diff: 0.0282)
[2] 0.242 - 0.270 == -0.0282
[3] 0.270 - 0.242 == 0.0282
── Failure ('test_reorder_row.R:786:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
4/22 mismatches (average diff: 0.0878)
[4] 0.212 - 0.331 == -0.1190
[5] 0.331 - 0.212 == 0.1190
[12] 0.269 - 0.213 == 0.0566
[13] 0.213 - 0.269 == -0.0566
── Failure ('test_reorder_row.R:788:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 3, 4, 2)]`.
Differences:
60/120 mismatches (average diff: 0.0286)
[31] 0.242 - 0.255 == -0.01352
[32] 0.242 - 0.263 == -0.02072
[33] 0.242 - 0.264 == -0.02226
[34] 0.241 - 0.248 == -0.00746
[35] 0.240 - 0.235 == 0.00541
[36] 0.243 - 0.273 == -0.03025
[37] 0.237 - 0.325 == -0.08766
[38] 0.240 - 0.243 == -0.00335
[39] 0.243 - 0.276 == -0.03226
...
── Failure ('test_reorder_row.R:791:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 7 == NA
── Failure ('test_reorder_row.R:792:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 7 - NA == NA
── Failure ('test_reorder_row.R:796:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 6
── Failure ('test_reorder_row.R:797:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[4]]`.
Differences:
Lengths differ: 6 is not 0
── Failure ('test_reorder_row.R:805:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 3, 4, 2)]`.
Differences:
2/4 mismatches (average diff: 0.119)
[2] 0.212 - 0.331 == -0.119
[3] 0.331 - 0.212 == 0.119
── Failure ('test_reorder_row.R:806:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 3, 4, 2), ]`.
Differences:
2/4 mismatches (average diff: 0.0566)
[2] 0.269 - 0.213 == 0.0566
[3] 0.213 - 0.269 == -0.0566
── Failure ('test_reorder_row.R:808:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 6 string mismatches >
── Failure ('test_reorder_row.R:822:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 2, 4, 3)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:823:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 2, 4, 3), ]`.
Differences:
2/4 mismatches (average diff: 0.0566)
[3] 0.213 - 0.269 == -0.0566
[4] 0.269 - 0.213 == 0.0566
── Failure ('test_reorder_row.R:825:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 2, 4, 3)]`.
Differences:
2/4 mismatches (average diff: 0.0282)
[3] 0.270 - 0.242 == 0.0282
[4] 0.242 - 0.270 == -0.0282
── Failure ('test_reorder_row.R:836:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
4/22 mismatches (average diff: 0.0878)
[5] 0.331 - 0.212 == 0.1190
[6] 0.212 - 0.331 == -0.1190
[13] 0.213 - 0.269 == -0.0566
[14] 0.269 - 0.213 == 0.0566
── Failure ('test_reorder_row.R:838:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 2, 4, 3)]`.
Differences:
60/120 mismatches (average diff: 0.0286)
[61] 0.255 - 0.242 == 0.01352
[62] 0.263 - 0.242 == 0.02072
[63] 0.264 - 0.242 == 0.02226
[64] 0.248 - 0.241 == 0.00746
[65] 0.235 - 0.240 == -0.00541
[66] 0.273 - 0.243 == 0.03025
[67] 0.325 - 0.237 == 0.08766
[68] 0.243 - 0.240 == 0.00335
[69] 0.276 - 0.243 == 0.03226
...
── Failure ('test_reorder_row.R:842:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 7 - NA == NA
── Failure ('test_reorder_row.R:843:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("4", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 7 == NA
── Failure ('test_reorder_row.R:847:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[4]]`.
Differences:
Lengths differ: 6 is not 0
── Failure ('test_reorder_row.R:848:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[4]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 6
── Failure ('test_reorder_row.R:855:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 2, 4, 3)]`.
Differences:
2/4 mismatches (average diff: 0.119)
[3] 0.331 - 0.212 == 0.119
[4] 0.212 - 0.331 == -0.119
── Failure ('test_reorder_row.R:856:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 2, 4, 3), ]`.
Differences:
2/4 mismatches (average diff: 0.0566)
[3] 0.213 - 0.269 == -0.0566
[4] 0.269 - 0.213 == 0.0566
── Failure ('test_reorder_row.R:858:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 6 string mismatches >
── Failure ('test_reorder_row.R:873:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 3, 2, 4)]`.
Differences:
Names: 3 string mismatches
── Failure ('test_reorder_row.R:874:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_col` to equal `orig$out_parlist$rowc_col[c(1, 3, 2, 4), ]`.
Differences:
15/20 mismatches (average diff: 0.552)
[2] -0.3903 - 0.3044 == -0.6947
[3] -0.3357 - -0.3903 == 0.0546
[4] 0.3044 - -0.3357 == 0.6401
[6] -0.1200 - 0.1042 == -0.2243
[7] -0.0986 - -0.1200 == 0.0214
[8] 0.1042 - -0.0986 == 0.2028
[10] 0.4790 - -0.5022 == 0.9812
[11] 0.6708 - 0.4790 == 0.1918
[12] -0.5022 - 0.6708 == -1.1730
...
── Failure ('test_reorder_row.R:876:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 3, 2, 4)]`.
Differences:
3/4 mismatches (average diff: 0.143)
[2] 0.143 - 0.357 == -0.215
[3] 0.252 - 0.143 == 0.109
[4] 0.357 - 0.252 == 0.106
── Failure ('test_reorder_row.R:880:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
11/23 mismatches (average diff: 0.411)
[4] -0.6771 - -0.0949 == -0.5822
[5] -0.3104 - -0.6771 == 0.3668
[6] -0.0949 - -0.3104 == 0.2155
[15] -0.3903 - 0.3044 == -0.6947
[16] -0.1200 - 0.1042 == -0.2243
[17] 0.4790 - -0.5022 == 0.9812
[18] 0.2049 - 0.3206 == -0.1157
[19] -0.3357 - -0.3903 == 0.0546
[20] -0.0986 - -0.1200 == 0.0214
...
── Failure ('test_reorder_row.R:882:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 3, 2, 4)]`.
Differences:
90/120 mismatches (average diff: 0.174)
[31] 0.0914 - 0.345 == -0.2537
[32] 0.1257 - 0.417 == -0.2917
[33] 0.1129 - 0.422 == -0.3091
[34] 0.1569 - 0.242 == -0.0851
[35] 0.2439 - 0.264 == -0.0204
[36] 0.1069 - 0.338 == -0.2307
[37] 0.0486 - 0.366 == -0.3172
[38] 0.1587 - 0.322 == -0.1634
[39] 0.1264 - 0.402 == -0.2754
...
── Failure ('test_reorder_row.R:885:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 1 == NA
── Failure ('test_reorder_row.R:886:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("2", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 4 - NA == NA
── Failure ('test_reorder_row.R:887:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("4", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 1 - 4 == -3
── Failure ('test_reorder_row.R:890:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 23
── Failure ('test_reorder_row.R:891:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[2]]`.
Differences:
Lengths differ: 7 is not 0
── Failure ('test_reorder_row.R:892:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[4]]` to equal `orig$row_cluster_members[[4]]`.
Differences:
Lengths differ: 23 is not 7
── Failure ('test_reorder_row.R:899:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 3, 2, 4)]`.
Differences:
3/4 mismatches (average diff: 0.388)
[2] -0.6771 - -0.0949 == -0.582
[3] -0.3104 - -0.6771 == 0.367
[4] -0.0949 - -0.3104 == 0.215
── Failure ('test_reorder_row.R:902:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 21 string mismatches >
── Failure ('test_reorder_row.R:912:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 4, 2, 3)]`.
Differences:
Names: 3 string mismatches
── Failure ('test_reorder_row.R:913:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_col` to equal `orig$out_parlist$rowc_col[c(1, 4, 2, 3), ]`.
Differences:
15/20 mismatches (average diff: 0.552)
[2] 0.3044 - -0.3357 == 0.6401
[3] -0.3357 - -0.3903 == 0.0546
[4] -0.3903 - 0.3044 == -0.6947
[6] 0.1042 - -0.0986 == 0.2028
[7] -0.0986 - -0.1200 == 0.0214
[8] -0.1200 - 0.1042 == -0.2243
[10] -0.5022 - 0.6708 == -1.1730
[11] 0.6708 - 0.4790 == 0.1918
[12] 0.4790 - -0.5022 == 0.9812
...
── Failure ('test_reorder_row.R:915:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 4, 2, 3)]`.
Differences:
3/4 mismatches (average diff: 0.143)
[2] 0.357 - 0.252 == 0.106
[3] 0.252 - 0.143 == 0.109
[4] 0.143 - 0.357 == -0.215
── Failure ('test_reorder_row.R:920:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
11/23 mismatches (average diff: 0.519)
[4] -0.0949 - -0.3104 == 0.2155
[5] -0.3104 - -0.6771 == 0.3668
[6] -0.6771 - -0.0949 == -0.5822
[15] 0.3044 - -0.3357 == 0.6401
[16] 0.1042 - -0.0986 == 0.2028
[17] -0.5022 - 0.6708 == -1.1730
[18] 0.3206 - -0.8699 == 1.1905
[19] -0.3357 - -0.3903 == 0.0546
[20] -0.0986 - -0.1200 == 0.0214
...
── Failure ('test_reorder_row.R:922:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 4, 2, 3)]`.
Differences:
90/120 mismatches (average diff: 0.174)
[31] 0.345 - 0.317 == 0.0282
[32] 0.417 - 0.165 == 0.2520
[33] 0.422 - 0.163 == 0.2590
[34] 0.242 - 0.447 == -0.2049
[35] 0.264 - 0.333 == -0.0683
[36] 0.338 - 0.322 == 0.0152
[37] 0.366 - 0.301 == 0.0653
[38] 0.322 - 0.306 == 0.0164
[39] 0.402 - 0.193 == 0.2092
...
── Failure ('test_reorder_row.R:925:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 1 - 4 == -3
── Failure ('test_reorder_row.R:926:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("2", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 4 - NA == NA
── Failure ('test_reorder_row.R:927:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("4", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 1 == NA
── Failure ('test_reorder_row.R:930:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[4]]`.
Differences:
Lengths differ: 23 is not 7
── Failure ('test_reorder_row.R:931:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[2]]`.
Differences:
Lengths differ: 7 is not 0
── Failure ('test_reorder_row.R:932:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[4]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 23
── Failure ('test_reorder_row.R:939:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 4, 2, 3)]`.
Differences:
3/4 mismatches (average diff: 0.388)
[2] -0.0949 - -0.3104 == 0.215
[3] -0.3104 - -0.6771 == 0.367
[4] -0.6771 - -0.0949 == -0.582
── Failure ('test_reorder_row.R:942:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 21 string mismatches >
── Failure ('test_reorder_row.R:956:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 3, 4, 2)]`.
Differences:
Names: 3 string mismatches
── Failure ('test_reorder_row.R:957:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 3, 4, 2), ]`.
Differences:
3/4 mismatches (average diff: 0.0452)
[2] -0.239 - -0.171 == -0.06787
[3] -0.173 - -0.239 == 0.06554
[4] -0.171 - -0.173 == 0.00233
── Failure ('test_reorder_row.R:959:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 3, 4, 2)]`.
Differences:
3/4 mismatches (average diff: 0.0525)
[2] 0.221 - 0.223 == -0.00122
[3] 0.144 - 0.221 == -0.07746
[4] 0.223 - 0.144 == 0.07868
── Failure ('test_reorder_row.R:963:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
6/11 mismatches (average diff: 0.1)
[4] 0.372 - 0.605 == -0.23308
[5] 0.600 - 0.372 == 0.22780
[6] 0.605 - 0.600 == 0.00528
[8] -0.239 - -0.171 == -0.06787
[9] -0.173 - -0.239 == 0.06554
[10] -0.171 - -0.173 == 0.00233
── Failure ('test_reorder_row.R:965:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 3, 4, 2)]`.
Differences:
90/120 mismatches (average diff: 0.0643)
[31] 0.228 - 0.223 == 0.00477
[32] 0.229 - 0.227 == 0.00231
[33] 0.223 - 0.206 == 0.01776
[34] 0.217 - 0.185 == 0.03144
[35] 0.207 - 0.163 == 0.04446
[36] 0.220 - 0.194 == 0.02580
[37] 0.228 - 0.357 == -0.12965
[38] 0.207 - 0.163 == 0.04418
[39] 0.232 - 0.240 == -0.00787
...
── Failure ('test_reorder_row.R:968:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 7 == NA
── Failure ('test_reorder_row.R:970:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("4", reord$row_clusters)` to equal `match("2", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 7 - NA == NA
── Failure ('test_reorder_row.R:973:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 5
── Failure ('test_reorder_row.R:975:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[4]]` to equal `orig$row_cluster_members[[2]]`.
Differences:
Lengths differ: 5 is not 0
── Failure ('test_reorder_row.R:982:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 3, 4, 2)]`.
Differences:
3/4 mismatches (average diff: 0.155)
[2] 0.372 - 0.605 == -0.23308
[3] 0.600 - 0.372 == 0.22780
[4] 0.605 - 0.600 == 0.00528
── Failure ('test_reorder_row.R:983:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 3, 4, 2), ]`.
Differences:
3/4 mismatches (average diff: 0.0452)
[2] -0.239 - -0.171 == -0.06787
[3] -0.173 - -0.239 == 0.06554
[4] -0.171 - -0.173 == 0.00233
── Failure ('test_reorder_row.R:985:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 9 string mismatches >
── Failure ('test_reorder_row.R:994:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 2, 4, 3)]`.
Differences:
Names: 3 string mismatches
── Failure ('test_reorder_row.R:995:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 2, 4, 3), ]`.
Differences:
3/4 mismatches (average diff: 0.0452)
[2] -0.171 - -0.173 == 0.00233
[3] -0.173 - -0.239 == 0.06554
[4] -0.239 - -0.171 == -0.06787
── Failure ('test_reorder_row.R:997:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 2, 4, 3)]`.
Differences:
3/4 mismatches (average diff: 0.0525)
[2] 0.223 - 0.144 == 0.07868
[3] 0.144 - 0.221 == -0.07746
[4] 0.221 - 0.223 == -0.00122
── Failure ('test_reorder_row.R:1001:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
6/11 mismatches (average diff: 0.1)
[4] 0.605 - 0.600 == 0.00528
[5] 0.600 - 0.372 == 0.22780
[6] 0.372 - 0.605 == -0.23308
[8] -0.171 - -0.173 == 0.00233
[9] -0.173 - -0.239 == 0.06554
[10] -0.239 - -0.171 == -0.06787
── Failure ('test_reorder_row.R:1003:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 2, 4, 3)]`.
Differences:
90/120 mismatches (average diff: 0.0643)
[31] 0.223 - 0.144 == 0.0786
[32] 0.227 - 0.147 == 0.0801
[33] 0.206 - 0.133 == 0.0724
[34] 0.185 - 0.120 == 0.0650
[35] 0.163 - 0.106 == 0.0569
[36] 0.194 - 0.126 == 0.0682
[37] 0.357 - 0.229 == 0.1284
[38] 0.163 - 0.106 == 0.0569
[39] 0.240 - 0.155 == 0.0847
...
── Failure ('test_reorder_row.R:1006:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("2", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 7 - NA == NA
── Failure ('test_reorder_row.R:1008:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("4", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 7 == NA
── Failure ('test_reorder_row.R:1011:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[2]]`.
Differences:
Lengths differ: 5 is not 0
── Failure ('test_reorder_row.R:1013:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[4]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 5
── Failure ('test_reorder_row.R:1020:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 2, 4, 3)]`.
Differences:
3/4 mismatches (average diff: 0.155)
[2] 0.605 - 0.600 == 0.00528
[3] 0.600 - 0.372 == 0.22780
[4] 0.372 - 0.605 == -0.23308
── Failure ('test_reorder_row.R:1021:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 2, 4, 3), ]`.
Differences:
3/4 mismatches (average diff: 0.0452)
[2] -0.171 - -0.173 == 0.00233
[3] -0.173 - -0.239 == 0.06554
[4] -0.239 - -0.171 == -0.06787
── Failure ('test_reorder_row.R:1023:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 9 string mismatches >
── Failure ('test_reorder_row.R:1117:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 2, 4, 3)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:1120:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 2, 4, 3)]`.
Differences:
2/4 mismatches (average diff: 0.293)
[2] 0.0384 - 0.3313 == -0.293
[4] 0.3313 - 0.0384 == 0.293
── Failure ('test_reorder_row.R:1126:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
6/22 mismatches (average diff: 0.206)
[3] -0.4085 - 0.0373 == -0.4458
[5] 0.0373 - -0.4085 == 0.4458
[14] 0.0568 - 0.1670 == -0.1102
[15] 0.0354 - 0.0570 == -0.0216
[16] -0.1175 - -0.3131 == 0.1956
[17] 0.2332 - 0.2493 == -0.0161
── Failure ('test_reorder_row.R:1128:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 2, 4, 3)]`.
Differences:
60/120 mismatches (average diff: 0.293)
[31] 0.0301 - 0.321 == -0.291
[32] 0.0354 - 0.371 == -0.336
[33] 0.0327 - 0.377 == -0.345
[34] 0.0342 - 0.249 == -0.215
[35] 0.0605 - 0.265 == -0.205
[36] 0.0292 - 0.327 == -0.297
[37] 0.0123 - 0.352 == -0.339
[38] 0.0406 - 0.307 == -0.266
[39] 0.0281 - 0.368 == -0.340
...
── Failure ('test_reorder_row.R:1144:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 2, 4, 3)]`.
Differences:
2/4 mismatches (average diff: 0.446)
[2] -0.4085 - 0.0373 == -0.446
[4] 0.0373 - -0.4085 == 0.446
── Failure ('test_reorder_row.R:1147:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 14 string mismatches >
── Failure ('test_reorder_row.R:1157:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 3, 4, 2)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:1160:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 3, 4, 2)]`.
Differences:
2/4 mismatches (average diff: 0.293)
[2] 0.3313 - 0.0384 == 0.293
[4] 0.0384 - 0.3313 == -0.293
── Failure ('test_reorder_row.R:1166:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
6/22 mismatches (average diff: 0.206)
[3] 0.0373 - -0.4085 == 0.4458
[5] -0.4085 - 0.0373 == -0.4458
[14] 0.1670 - 0.0568 == 0.1102
[15] 0.0570 - 0.0354 == 0.0216
[16] -0.3131 - -0.1175 == -0.1956
[17] 0.2493 - 0.2332 == 0.0161
── Failure ('test_reorder_row.R:1168:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 3, 4, 2)]`.
Differences:
60/120 mismatches (average diff: 0.293)
[31] 0.321 - 0.0301 == 0.291
[32] 0.371 - 0.0354 == 0.336
[33] 0.377 - 0.0327 == 0.345
[34] 0.249 - 0.0342 == 0.215
[35] 0.265 - 0.0605 == 0.205
[36] 0.327 - 0.0292 == 0.297
[37] 0.352 - 0.0123 == 0.339
[38] 0.307 - 0.0406 == 0.266
[39] 0.368 - 0.0281 == 0.340
...
── Failure ('test_reorder_row.R:1184:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 3, 4, 2)]`.
Differences:
2/4 mismatches (average diff: 0.446)
[2] 0.0373 - -0.4085 == 0.446
[4] -0.4085 - 0.0373 == -0.446
── Failure ('test_reorder_row.R:1187:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 14 string mismatches >
── Failure ('test_reorder_row.R:1202:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 4, 2, 3)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:1203:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 4, 2, 3), ]`.
Differences:
2/4 mismatches (average diff: 0.00791)
[3] -0.125 - -0.133 == 0.00791
[4] -0.133 - -0.125 == -0.00791
── Failure ('test_reorder_row.R:1205:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 4, 2, 3)]`.
Differences:
2/4 mismatches (average diff: 0.0924)
[3] 0.274 - 0.181 == 0.0924
[4] 0.181 - 0.274 == -0.0924
── Failure ('test_reorder_row.R:1209:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
4/10 mismatches (average diff: 0.0278)
[4] 0.410 - 0.458 == -0.04779
[5] 0.458 - 0.410 == 0.04779
[8] -0.125 - -0.133 == 0.00791
[9] -0.133 - -0.125 == -0.00791
── Failure ('test_reorder_row.R:1211:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 4, 2, 3)]`.
Differences:
60/120 mismatches (average diff: 0.0924)
[61] 0.284 - 0.183 == 0.1004
[62] 0.277 - 0.182 == 0.0948
[63] 0.281 - 0.183 == 0.0977
[64] 0.250 - 0.159 == 0.0906
[65] 0.205 - 0.128 == 0.0766
[66] 0.275 - 0.181 == 0.0945
[67] 0.380 - 0.278 == 0.1018
[68] 0.252 - 0.159 == 0.0925
[69] 0.303 - 0.205 == 0.0981
...
── Failure ('test_reorder_row.R:1214:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 7 == NA
── Failure ('test_reorder_row.R:1215:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 7 - NA == NA
── Failure ('test_reorder_row.R:1220:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[2]]`.
Differences:
Lengths differ: 9 is not 0
── Failure ('test_reorder_row.R:1221:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[4]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 9
── Failure ('test_reorder_row.R:1227:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 4, 2, 3)]`.
Differences:
2/4 mismatches (average diff: 0.0478)
[3] 0.410 - 0.458 == -0.0478
[4] 0.458 - 0.410 == 0.0478
── Failure ('test_reorder_row.R:1228:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 4, 2, 3), ]`.
Differences:
2/4 mismatches (average diff: 0.00791)
[3] -0.125 - -0.133 == 0.00791
[4] -0.133 - -0.125 == -0.00791
── Failure ('test_reorder_row.R:1230:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 6 string mismatches >
── Failure ('test_reorder_row.R:1239:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 3, 2, 4)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:1240:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 3, 2, 4), ]`.
Differences:
2/4 mismatches (average diff: 0.00791)
[2] -0.133 - -0.125 == -0.00791
[3] -0.125 - -0.133 == 0.00791
── Failure ('test_reorder_row.R:1242:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 3, 2, 4)]`.
Differences:
2/4 mismatches (average diff: 0.0924)
[2] 0.181 - 0.274 == -0.0924
[3] 0.274 - 0.181 == 0.0924
── Failure ('test_reorder_row.R:1246:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
4/10 mismatches (average diff: 0.0278)
[3] 0.458 - 0.410 == 0.04779
[4] 0.410 - 0.458 == -0.04779
[7] -0.133 - -0.125 == -0.00791
[8] -0.125 - -0.133 == 0.00791
── Failure ('test_reorder_row.R:1248:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 3, 2, 4)]`.
Differences:
60/120 mismatches (average diff: 0.0924)
[31] 0.183 - 0.284 == -0.1004
[32] 0.182 - 0.277 == -0.0948
[33] 0.183 - 0.281 == -0.0977
[34] 0.159 - 0.250 == -0.0906
[35] 0.128 - 0.205 == -0.0766
[36] 0.181 - 0.275 == -0.0945
[37] 0.278 - 0.380 == -0.1018
[38] 0.159 - 0.252 == -0.0925
[39] 0.205 - 0.303 == -0.0981
...
── Failure ('test_reorder_row.R:1251:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 7 == NA
── Failure ('test_reorder_row.R:1252:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 7 - NA == NA
── Failure ('test_reorder_row.R:1256:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 9
── Failure ('test_reorder_row.R:1257:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[2]]`.
Differences:
Lengths differ: 9 is not 0
── Failure ('test_reorder_row.R:1264:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 3, 2, 4)]`.
Differences:
2/4 mismatches (average diff: 0.0478)
[2] 0.458 - 0.410 == 0.0478
[3] 0.410 - 0.458 == -0.0478
── Failure ('test_reorder_row.R:1265:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 3, 2, 4), ]`.
Differences:
2/4 mismatches (average diff: 0.00791)
[2] -0.133 - -0.125 == -0.00791
[3] -0.125 - -0.133 == 0.00791
── Failure ('test_reorder_row.R:1267:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 6 string mismatches >
── Failure ('test_reorder_row.R:1294:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 4, 3, 2)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:1295:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 4, 3, 2), ]`.
Differences:
2/4 mismatches (average diff: 0.0116)
[2] 0.147 - 0.136 == 0.0116
[3] 0.136 - 0.147 == -0.0116
── Failure ('test_reorder_row.R:1297:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 4, 3, 2)]`.
Differences:
2/4 mismatches (average diff: 0.233)
[2] 0.516 - 0.283 == 0.233
[3] 0.283 - 0.516 == -0.233
── Failure ('test_reorder_row.R:1301:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
4/20 mismatches (average diff: 0.0296)
[2] -0.456 - -0.408 == -0.0476
[3] -0.408 - -0.456 == 0.0476
[10] 0.147 - 0.136 == 0.0116
[11] 0.136 - 0.147 == -0.0116
── Failure ('test_reorder_row.R:1303:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 4, 3, 2)]`.
Differences:
60/120 mismatches (average diff: 0.233)
[31] 0.537 - 0.283 == 0.254
[32] 0.491 - 0.284 == 0.207
[33] 0.518 - 0.283 == 0.235
[34] 0.510 - 0.283 == 0.227
[35] 0.505 - 0.283 == 0.222
[36] 0.534 - 0.282 == 0.252
[37] 0.532 - 0.284 == 0.248
[38] 0.530 - 0.283 == 0.248
[39] 0.457 - 0.277 == 0.180
...
── Failure ('test_reorder_row.R:1306:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 1 - NA == NA
── Failure ('test_reorder_row.R:1307:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 1 == NA
── Failure ('test_reorder_row.R:1311:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[4]]`.
Differences:
Lengths differ: 30 is not 0
── Failure ('test_reorder_row.R:1312:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 30
── Failure ('test_reorder_row.R:1320:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 4, 3, 2)]`.
Differences:
2/4 mismatches (average diff: 0.0476)
[2] -0.456 - -0.408 == -0.0476
[3] -0.408 - -0.456 == 0.0476
── Failure ('test_reorder_row.R:1321:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 4, 3, 2), ]`.
Differences:
2/4 mismatches (average diff: 0.0116)
[2] 0.147 - 0.136 == 0.0116
[3] 0.136 - 0.147 == -0.0116
── Failure ('test_reorder_row.R:1323:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 6 string mismatches >
── Failure ('test_reorder_row.R:1332:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:1333:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov` to equal `orig$out_parlist$rowc_cov`.
Differences:
2/4 mismatches (average diff: 0.0116)
[3] 0.136 - 0.147 == -0.0116
[4] 0.147 - 0.136 == 0.0116
── Failure ('test_reorder_row.R:1335:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions`.
Differences:
2/4 mismatches (average diff: 0.233)
[3] 0.283 - 0.516 == -0.233
[4] 0.516 - 0.283 == 0.233
── Failure ('test_reorder_row.R:1337:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `orig$out_parvec`.
Differences:
4/20 mismatches (average diff: 0.0296)
[3] -0.408 - -0.456 == 0.0476
[4] -0.456 - -0.408 == -0.0476
[11] 0.136 - 0.147 == -0.0116
[12] 0.147 - 0.136 == 0.0116
── Failure ('test_reorder_row.R:1339:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs`.
Differences:
60/120 mismatches (average diff: 0.233)
[61] 0.283 - 0.537 == -0.254
[62] 0.284 - 0.491 == -0.207
[63] 0.283 - 0.518 == -0.235
[64] 0.283 - 0.510 == -0.227
[65] 0.283 - 0.505 == -0.222
[66] 0.282 - 0.534 == -0.252
[67] 0.284 - 0.532 == -0.248
[68] 0.283 - 0.530 == -0.248
[69] 0.277 - 0.457 == -0.180
...
── Failure ('test_reorder_row.R:1341:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_clusters` to equal `orig$row_clusters`.
Differences:
30/30 mismatches (average diff: 1)
[1] 4 - 3 == 1
[2] 4 - 3 == 1
[3] 4 - 3 == 1
[4] 4 - 3 == 1
[5] 4 - 3 == 1
[6] 4 - 3 == 1
[7] 4 - 3 == 1
[8] 4 - 3 == 1
[9] 4 - 3 == 1
...
── Failure ('test_reorder_row.R:1343:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members` to equal `orig$row_cluster_members`.
Differences:
Component 3: Numeric: lengths (0, 30) differ
Component 4: Numeric: lengths (30, 0) differ
── Failure ('test_reorder_row.R:1350:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc`.
Differences:
2/4 mismatches (average diff: 0.0476)
[3] -0.408 - -0.456 == 0.0476
[4] -0.456 - -0.408 == -0.0476
── Failure ('test_reorder_row.R:1351:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov` to equal `orig$EMstatus$params_for_best_lli$rowc_cov`.
Differences:
2/4 mismatches (average diff: 0.0116)
[3] 0.136 - 0.147 == -0.0116
[4] 0.147 - 0.136 == 0.0116
── Failure ('test_reorder_row.R:1353:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `orig$EMstatus$params_every_iteration`.
Differences:
Attributes: < Component "dimnames": Component 2: 6 string mismatches >
[ FAIL 132 | WARN 0 | SKIP 0 | PASS 3181 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-macos-arm64
Version: 2.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [65s/65s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(clustord)
>
> test_check("clustord")
Saving _problems/test_reorder_row-772.R
Saving _problems/test_reorder_row-773.R
Saving _problems/test_reorder_row-775.R
Saving _problems/test_reorder_row-786.R
Saving _problems/test_reorder_row-788.R
Saving _problems/test_reorder_row-791.R
Saving _problems/test_reorder_row-792.R
Saving _problems/test_reorder_row-796.R
Saving _problems/test_reorder_row-797.R
Saving _problems/test_reorder_row-805.R
Saving _problems/test_reorder_row-806.R
Saving _problems/test_reorder_row-808.R
Saving _problems/test_reorder_row-822.R
Saving _problems/test_reorder_row-823.R
Saving _problems/test_reorder_row-825.R
Saving _problems/test_reorder_row-836.R
Saving _problems/test_reorder_row-838.R
Saving _problems/test_reorder_row-842.R
Saving _problems/test_reorder_row-843.R
Saving _problems/test_reorder_row-847.R
Saving _problems/test_reorder_row-848.R
Saving _problems/test_reorder_row-855.R
Saving _problems/test_reorder_row-856.R
Saving _problems/test_reorder_row-858.R
Saving _problems/test_reorder_row-873.R
Saving _problems/test_reorder_row-874.R
Saving _problems/test_reorder_row-876.R
Saving _problems/test_reorder_row-880.R
Saving _problems/test_reorder_row-882.R
Saving _problems/test_reorder_row-885.R
Saving _problems/test_reorder_row-886.R
Saving _problems/test_reorder_row-887.R
Saving _problems/test_reorder_row-890.R
Saving _problems/test_reorder_row-891.R
Saving _problems/test_reorder_row-892.R
Saving _problems/test_reorder_row-899.R
Saving _problems/test_reorder_row-902.R
Saving _problems/test_reorder_row-912.R
Saving _problems/test_reorder_row-913.R
Saving _problems/test_reorder_row-915.R
Saving _problems/test_reorder_row-920.R
Saving _problems/test_reorder_row-922.R
Saving _problems/test_reorder_row-925.R
Saving _problems/test_reorder_row-926.R
Saving _problems/test_reorder_row-927.R
Saving _problems/test_reorder_row-930.R
Saving _problems/test_reorder_row-931.R
Saving _problems/test_reorder_row-932.R
Saving _problems/test_reorder_row-939.R
Saving _problems/test_reorder_row-942.R
Saving _problems/test_reorder_row-956.R
Saving _problems/test_reorder_row-957.R
Saving _problems/test_reorder_row-959.R
Saving _problems/test_reorder_row-963.R
Saving _problems/test_reorder_row-965.R
Saving _problems/test_reorder_row-968.R
Saving _problems/test_reorder_row-970.R
Saving _problems/test_reorder_row-973.R
Saving _problems/test_reorder_row-975.R
Saving _problems/test_reorder_row-982.R
Saving _problems/test_reorder_row-983.R
Saving _problems/test_reorder_row-985.R
Saving _problems/test_reorder_row-994.R
Saving _problems/test_reorder_row-995.R
Saving _problems/test_reorder_row-997.R
Saving _problems/test_reorder_row-1001.R
Saving _problems/test_reorder_row-1003.R
Saving _problems/test_reorder_row-1006.R
Saving _problems/test_reorder_row-1008.R
Saving _problems/test_reorder_row-1011.R
Saving _problems/test_reorder_row-1013.R
Saving _problems/test_reorder_row-1020.R
Saving _problems/test_reorder_row-1021.R
Saving _problems/test_reorder_row-1023.R
Saving _problems/test_reorder_row-1117.R
Saving _problems/test_reorder_row-1120.R
Saving _problems/test_reorder_row-1126.R
Saving _problems/test_reorder_row-1128.R
Saving _problems/test_reorder_row-1144.R
Saving _problems/test_reorder_row-1147.R
Saving _problems/test_reorder_row-1157.R
Saving _problems/test_reorder_row-1160.R
Saving _problems/test_reorder_row-1166.R
Saving _problems/test_reorder_row-1168.R
Saving _problems/test_reorder_row-1184.R
Saving _problems/test_reorder_row-1187.R
Saving _problems/test_reorder_row-1202.R
Saving _problems/test_reorder_row-1203.R
Saving _problems/test_reorder_row-1205.R
Saving _problems/test_reorder_row-1209.R
Saving _problems/test_reorder_row-1211.R
Saving _problems/test_reorder_row-1214.R
Saving _problems/test_reorder_row-1215.R
Saving _problems/test_reorder_row-1220.R
Saving _problems/test_reorder_row-1221.R
Saving _problems/test_reorder_row-1227.R
Saving _problems/test_reorder_row-1228.R
Saving _problems/test_reorder_row-1230.R
Saving _problems/test_reorder_row-1239.R
Saving _problems/test_reorder_row-1240.R
Saving _problems/test_reorder_row-1242.R
Saving _problems/test_reorder_row-1246.R
Saving _problems/test_reorder_row-1248.R
Saving _problems/test_reorder_row-1251.R
Saving _problems/test_reorder_row-1252.R
Saving _problems/test_reorder_row-1256.R
Saving _problems/test_reorder_row-1257.R
Saving _problems/test_reorder_row-1264.R
Saving _problems/test_reorder_row-1265.R
Saving _problems/test_reorder_row-1267.R
Saving _problems/test_reorder_row-1294.R
Saving _problems/test_reorder_row-1295.R
Saving _problems/test_reorder_row-1297.R
Saving _problems/test_reorder_row-1301.R
Saving _problems/test_reorder_row-1303.R
Saving _problems/test_reorder_row-1306.R
Saving _problems/test_reorder_row-1307.R
Saving _problems/test_reorder_row-1311.R
Saving _problems/test_reorder_row-1312.R
Saving _problems/test_reorder_row-1320.R
Saving _problems/test_reorder_row-1321.R
Saving _problems/test_reorder_row-1323.R
Saving _problems/test_reorder_row-1332.R
Saving _problems/test_reorder_row-1333.R
Saving _problems/test_reorder_row-1335.R
Saving _problems/test_reorder_row-1337.R
Saving _problems/test_reorder_row-1339.R
Saving _problems/test_reorder_row-1341.R
Saving _problems/test_reorder_row-1343.R
Saving _problems/test_reorder_row-1350.R
Saving _problems/test_reorder_row-1351.R
Saving _problems/test_reorder_row-1353.R
[ FAIL 132 | WARN 0 | SKIP 0 | PASS 3181 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_reorder_row.R:772:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 3, 4, 2)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:773:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 3, 4, 2), ]`.
Differences:
2/4 mismatches (average diff: 0.0566)
[2] 0.269 - 0.213 == 0.0566
[3] 0.213 - 0.269 == -0.0566
── Failure ('test_reorder_row.R:775:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 3, 4, 2)]`.
Differences:
2/4 mismatches (average diff: 0.0282)
[2] 0.242 - 0.270 == -0.0282
[3] 0.270 - 0.242 == 0.0282
── Failure ('test_reorder_row.R:786:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
4/22 mismatches (average diff: 0.0878)
[4] 0.212 - 0.331 == -0.1190
[5] 0.331 - 0.212 == 0.1190
[12] 0.269 - 0.213 == 0.0566
[13] 0.213 - 0.269 == -0.0566
── Failure ('test_reorder_row.R:788:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 3, 4, 2)]`.
Differences:
60/120 mismatches (average diff: 0.0286)
[31] 0.242 - 0.255 == -0.01352
[32] 0.242 - 0.263 == -0.02072
[33] 0.242 - 0.264 == -0.02226
[34] 0.241 - 0.248 == -0.00746
[35] 0.240 - 0.235 == 0.00541
[36] 0.243 - 0.273 == -0.03025
[37] 0.237 - 0.325 == -0.08766
[38] 0.240 - 0.243 == -0.00335
[39] 0.243 - 0.276 == -0.03226
...
── Failure ('test_reorder_row.R:791:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 7 == NA
── Failure ('test_reorder_row.R:792:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 7 - NA == NA
── Failure ('test_reorder_row.R:796:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 6
── Failure ('test_reorder_row.R:797:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[4]]`.
Differences:
Lengths differ: 6 is not 0
── Failure ('test_reorder_row.R:805:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 3, 4, 2)]`.
Differences:
2/4 mismatches (average diff: 0.119)
[2] 0.212 - 0.331 == -0.119
[3] 0.331 - 0.212 == 0.119
── Failure ('test_reorder_row.R:806:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 3, 4, 2), ]`.
Differences:
2/4 mismatches (average diff: 0.0566)
[2] 0.269 - 0.213 == 0.0566
[3] 0.213 - 0.269 == -0.0566
── Failure ('test_reorder_row.R:808:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 6 string mismatches >
── Failure ('test_reorder_row.R:822:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 2, 4, 3)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:823:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 2, 4, 3), ]`.
Differences:
2/4 mismatches (average diff: 0.0566)
[3] 0.213 - 0.269 == -0.0566
[4] 0.269 - 0.213 == 0.0566
── Failure ('test_reorder_row.R:825:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 2, 4, 3)]`.
Differences:
2/4 mismatches (average diff: 0.0282)
[3] 0.270 - 0.242 == 0.0282
[4] 0.242 - 0.270 == -0.0282
── Failure ('test_reorder_row.R:836:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
4/22 mismatches (average diff: 0.0878)
[5] 0.331 - 0.212 == 0.1190
[6] 0.212 - 0.331 == -0.1190
[13] 0.213 - 0.269 == -0.0566
[14] 0.269 - 0.213 == 0.0566
── Failure ('test_reorder_row.R:838:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 2, 4, 3)]`.
Differences:
60/120 mismatches (average diff: 0.0286)
[61] 0.255 - 0.242 == 0.01352
[62] 0.263 - 0.242 == 0.02072
[63] 0.264 - 0.242 == 0.02226
[64] 0.248 - 0.241 == 0.00746
[65] 0.235 - 0.240 == -0.00541
[66] 0.273 - 0.243 == 0.03025
[67] 0.325 - 0.237 == 0.08766
[68] 0.243 - 0.240 == 0.00335
[69] 0.276 - 0.243 == 0.03226
...
── Failure ('test_reorder_row.R:842:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 7 - NA == NA
── Failure ('test_reorder_row.R:843:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("4", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 7 == NA
── Failure ('test_reorder_row.R:847:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[4]]`.
Differences:
Lengths differ: 6 is not 0
── Failure ('test_reorder_row.R:848:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[4]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 6
── Failure ('test_reorder_row.R:855:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 2, 4, 3)]`.
Differences:
2/4 mismatches (average diff: 0.119)
[3] 0.331 - 0.212 == 0.119
[4] 0.212 - 0.331 == -0.119
── Failure ('test_reorder_row.R:856:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 2, 4, 3), ]`.
Differences:
2/4 mismatches (average diff: 0.0566)
[3] 0.213 - 0.269 == -0.0566
[4] 0.269 - 0.213 == 0.0566
── Failure ('test_reorder_row.R:858:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 6 string mismatches >
── Failure ('test_reorder_row.R:873:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 3, 2, 4)]`.
Differences:
Names: 3 string mismatches
── Failure ('test_reorder_row.R:874:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_col` to equal `orig$out_parlist$rowc_col[c(1, 3, 2, 4), ]`.
Differences:
15/20 mismatches (average diff: 0.552)
[2] -0.3903 - 0.3044 == -0.6947
[3] -0.3357 - -0.3903 == 0.0546
[4] 0.3044 - -0.3357 == 0.6401
[6] -0.1200 - 0.1042 == -0.2243
[7] -0.0986 - -0.1200 == 0.0214
[8] 0.1042 - -0.0986 == 0.2028
[10] 0.4790 - -0.5022 == 0.9812
[11] 0.6708 - 0.4790 == 0.1918
[12] -0.5022 - 0.6708 == -1.1730
...
── Failure ('test_reorder_row.R:876:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 3, 2, 4)]`.
Differences:
3/4 mismatches (average diff: 0.143)
[2] 0.143 - 0.357 == -0.215
[3] 0.252 - 0.143 == 0.109
[4] 0.357 - 0.252 == 0.106
── Failure ('test_reorder_row.R:880:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
11/23 mismatches (average diff: 0.411)
[4] -0.6771 - -0.0949 == -0.5822
[5] -0.3104 - -0.6771 == 0.3668
[6] -0.0949 - -0.3104 == 0.2155
[15] -0.3903 - 0.3044 == -0.6947
[16] -0.1200 - 0.1042 == -0.2243
[17] 0.4790 - -0.5022 == 0.9812
[18] 0.2049 - 0.3206 == -0.1157
[19] -0.3357 - -0.3903 == 0.0546
[20] -0.0986 - -0.1200 == 0.0214
...
── Failure ('test_reorder_row.R:882:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 3, 2, 4)]`.
Differences:
90/120 mismatches (average diff: 0.174)
[31] 0.0914 - 0.345 == -0.2537
[32] 0.1257 - 0.417 == -0.2917
[33] 0.1129 - 0.422 == -0.3091
[34] 0.1569 - 0.242 == -0.0851
[35] 0.2439 - 0.264 == -0.0204
[36] 0.1069 - 0.338 == -0.2307
[37] 0.0486 - 0.366 == -0.3172
[38] 0.1587 - 0.322 == -0.1634
[39] 0.1264 - 0.402 == -0.2754
...
── Failure ('test_reorder_row.R:885:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 1 == NA
── Failure ('test_reorder_row.R:886:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("2", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 4 - NA == NA
── Failure ('test_reorder_row.R:887:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("4", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 1 - 4 == -3
── Failure ('test_reorder_row.R:890:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 23
── Failure ('test_reorder_row.R:891:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[2]]`.
Differences:
Lengths differ: 7 is not 0
── Failure ('test_reorder_row.R:892:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[4]]` to equal `orig$row_cluster_members[[4]]`.
Differences:
Lengths differ: 23 is not 7
── Failure ('test_reorder_row.R:899:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 3, 2, 4)]`.
Differences:
3/4 mismatches (average diff: 0.388)
[2] -0.6771 - -0.0949 == -0.582
[3] -0.3104 - -0.6771 == 0.367
[4] -0.0949 - -0.3104 == 0.215
── Failure ('test_reorder_row.R:902:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 21 string mismatches >
── Failure ('test_reorder_row.R:912:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 4, 2, 3)]`.
Differences:
Names: 3 string mismatches
── Failure ('test_reorder_row.R:913:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_col` to equal `orig$out_parlist$rowc_col[c(1, 4, 2, 3), ]`.
Differences:
15/20 mismatches (average diff: 0.552)
[2] 0.3044 - -0.3357 == 0.6401
[3] -0.3357 - -0.3903 == 0.0546
[4] -0.3903 - 0.3044 == -0.6947
[6] 0.1042 - -0.0986 == 0.2028
[7] -0.0986 - -0.1200 == 0.0214
[8] -0.1200 - 0.1042 == -0.2243
[10] -0.5022 - 0.6708 == -1.1730
[11] 0.6708 - 0.4790 == 0.1918
[12] 0.4790 - -0.5022 == 0.9812
...
── Failure ('test_reorder_row.R:915:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 4, 2, 3)]`.
Differences:
3/4 mismatches (average diff: 0.143)
[2] 0.357 - 0.252 == 0.106
[3] 0.252 - 0.143 == 0.109
[4] 0.143 - 0.357 == -0.215
── Failure ('test_reorder_row.R:920:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
11/23 mismatches (average diff: 0.519)
[4] -0.0949 - -0.3104 == 0.2155
[5] -0.3104 - -0.6771 == 0.3668
[6] -0.6771 - -0.0949 == -0.5822
[15] 0.3044 - -0.3357 == 0.6401
[16] 0.1042 - -0.0986 == 0.2028
[17] -0.5022 - 0.6708 == -1.1730
[18] 0.3206 - -0.8699 == 1.1905
[19] -0.3357 - -0.3903 == 0.0546
[20] -0.0986 - -0.1200 == 0.0214
...
── Failure ('test_reorder_row.R:922:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 4, 2, 3)]`.
Differences:
90/120 mismatches (average diff: 0.174)
[31] 0.345 - 0.317 == 0.0282
[32] 0.417 - 0.165 == 0.2520
[33] 0.422 - 0.163 == 0.2590
[34] 0.242 - 0.447 == -0.2049
[35] 0.264 - 0.333 == -0.0683
[36] 0.338 - 0.322 == 0.0152
[37] 0.366 - 0.301 == 0.0653
[38] 0.322 - 0.306 == 0.0164
[39] 0.402 - 0.193 == 0.2092
...
── Failure ('test_reorder_row.R:925:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 1 - 4 == -3
── Failure ('test_reorder_row.R:926:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("2", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 4 - NA == NA
── Failure ('test_reorder_row.R:927:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("4", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 1 == NA
── Failure ('test_reorder_row.R:930:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[4]]`.
Differences:
Lengths differ: 23 is not 7
── Failure ('test_reorder_row.R:931:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[2]]`.
Differences:
Lengths differ: 7 is not 0
── Failure ('test_reorder_row.R:932:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[4]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 23
── Failure ('test_reorder_row.R:939:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 4, 2, 3)]`.
Differences:
3/4 mismatches (average diff: 0.388)
[2] -0.0949 - -0.3104 == 0.215
[3] -0.3104 - -0.6771 == 0.367
[4] -0.6771 - -0.0949 == -0.582
── Failure ('test_reorder_row.R:942:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 21 string mismatches >
── Failure ('test_reorder_row.R:956:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 3, 4, 2)]`.
Differences:
Names: 3 string mismatches
── Failure ('test_reorder_row.R:957:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 3, 4, 2), ]`.
Differences:
3/4 mismatches (average diff: 0.0452)
[2] -0.239 - -0.171 == -0.06787
[3] -0.173 - -0.239 == 0.06554
[4] -0.171 - -0.173 == 0.00233
── Failure ('test_reorder_row.R:959:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 3, 4, 2)]`.
Differences:
3/4 mismatches (average diff: 0.0525)
[2] 0.221 - 0.223 == -0.00122
[3] 0.144 - 0.221 == -0.07746
[4] 0.223 - 0.144 == 0.07868
── Failure ('test_reorder_row.R:963:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
6/11 mismatches (average diff: 0.1)
[4] 0.372 - 0.605 == -0.23308
[5] 0.600 - 0.372 == 0.22780
[6] 0.605 - 0.600 == 0.00528
[8] -0.239 - -0.171 == -0.06787
[9] -0.173 - -0.239 == 0.06554
[10] -0.171 - -0.173 == 0.00233
── Failure ('test_reorder_row.R:965:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 3, 4, 2)]`.
Differences:
90/120 mismatches (average diff: 0.0643)
[31] 0.228 - 0.223 == 0.00477
[32] 0.229 - 0.227 == 0.00231
[33] 0.223 - 0.206 == 0.01776
[34] 0.217 - 0.185 == 0.03144
[35] 0.207 - 0.163 == 0.04446
[36] 0.220 - 0.194 == 0.02580
[37] 0.228 - 0.357 == -0.12965
[38] 0.207 - 0.163 == 0.04418
[39] 0.232 - 0.240 == -0.00787
...
── Failure ('test_reorder_row.R:968:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 7 == NA
── Failure ('test_reorder_row.R:970:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("4", reord$row_clusters)` to equal `match("2", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 7 - NA == NA
── Failure ('test_reorder_row.R:973:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 5
── Failure ('test_reorder_row.R:975:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[4]]` to equal `orig$row_cluster_members[[2]]`.
Differences:
Lengths differ: 5 is not 0
── Failure ('test_reorder_row.R:982:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 3, 4, 2)]`.
Differences:
3/4 mismatches (average diff: 0.155)
[2] 0.372 - 0.605 == -0.23308
[3] 0.600 - 0.372 == 0.22780
[4] 0.605 - 0.600 == 0.00528
── Failure ('test_reorder_row.R:983:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 3, 4, 2), ]`.
Differences:
3/4 mismatches (average diff: 0.0452)
[2] -0.239 - -0.171 == -0.06787
[3] -0.173 - -0.239 == 0.06554
[4] -0.171 - -0.173 == 0.00233
── Failure ('test_reorder_row.R:985:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 9 string mismatches >
── Failure ('test_reorder_row.R:994:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 2, 4, 3)]`.
Differences:
Names: 3 string mismatches
── Failure ('test_reorder_row.R:995:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 2, 4, 3), ]`.
Differences:
3/4 mismatches (average diff: 0.0452)
[2] -0.171 - -0.173 == 0.00233
[3] -0.173 - -0.239 == 0.06554
[4] -0.239 - -0.171 == -0.06787
── Failure ('test_reorder_row.R:997:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 2, 4, 3)]`.
Differences:
3/4 mismatches (average diff: 0.0525)
[2] 0.223 - 0.144 == 0.07868
[3] 0.144 - 0.221 == -0.07746
[4] 0.221 - 0.223 == -0.00122
── Failure ('test_reorder_row.R:1001:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
6/11 mismatches (average diff: 0.1)
[4] 0.605 - 0.600 == 0.00528
[5] 0.600 - 0.372 == 0.22780
[6] 0.372 - 0.605 == -0.23308
[8] -0.171 - -0.173 == 0.00233
[9] -0.173 - -0.239 == 0.06554
[10] -0.239 - -0.171 == -0.06787
── Failure ('test_reorder_row.R:1003:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 2, 4, 3)]`.
Differences:
90/120 mismatches (average diff: 0.0643)
[31] 0.223 - 0.144 == 0.0786
[32] 0.227 - 0.147 == 0.0801
[33] 0.206 - 0.133 == 0.0724
[34] 0.185 - 0.120 == 0.0650
[35] 0.163 - 0.106 == 0.0569
[36] 0.194 - 0.126 == 0.0682
[37] 0.357 - 0.229 == 0.1284
[38] 0.163 - 0.106 == 0.0569
[39] 0.240 - 0.155 == 0.0847
...
── Failure ('test_reorder_row.R:1006:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("2", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 7 - NA == NA
── Failure ('test_reorder_row.R:1008:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("4", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 7 == NA
── Failure ('test_reorder_row.R:1011:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[2]]`.
Differences:
Lengths differ: 5 is not 0
── Failure ('test_reorder_row.R:1013:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[4]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 5
── Failure ('test_reorder_row.R:1020:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 2, 4, 3)]`.
Differences:
3/4 mismatches (average diff: 0.155)
[2] 0.605 - 0.600 == 0.00528
[3] 0.600 - 0.372 == 0.22780
[4] 0.372 - 0.605 == -0.23308
── Failure ('test_reorder_row.R:1021:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 2, 4, 3), ]`.
Differences:
3/4 mismatches (average diff: 0.0452)
[2] -0.171 - -0.173 == 0.00233
[3] -0.173 - -0.239 == 0.06554
[4] -0.239 - -0.171 == -0.06787
── Failure ('test_reorder_row.R:1023:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 9 string mismatches >
── Failure ('test_reorder_row.R:1117:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 2, 4, 3)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:1120:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 2, 4, 3)]`.
Differences:
2/4 mismatches (average diff: 0.293)
[2] 0.0384 - 0.3313 == -0.293
[4] 0.3313 - 0.0384 == 0.293
── Failure ('test_reorder_row.R:1126:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
6/22 mismatches (average diff: 0.206)
[3] -0.4085 - 0.0373 == -0.4458
[5] 0.0373 - -0.4085 == 0.4458
[14] 0.0568 - 0.1670 == -0.1102
[15] 0.0354 - 0.0570 == -0.0216
[16] -0.1175 - -0.3131 == 0.1956
[17] 0.2332 - 0.2493 == -0.0161
── Failure ('test_reorder_row.R:1128:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 2, 4, 3)]`.
Differences:
60/120 mismatches (average diff: 0.293)
[31] 0.0301 - 0.321 == -0.291
[32] 0.0354 - 0.371 == -0.336
[33] 0.0327 - 0.377 == -0.345
[34] 0.0342 - 0.249 == -0.215
[35] 0.0605 - 0.265 == -0.205
[36] 0.0292 - 0.327 == -0.297
[37] 0.0123 - 0.352 == -0.339
[38] 0.0406 - 0.307 == -0.266
[39] 0.0281 - 0.368 == -0.340
...
── Failure ('test_reorder_row.R:1144:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 2, 4, 3)]`.
Differences:
2/4 mismatches (average diff: 0.446)
[2] -0.4085 - 0.0373 == -0.446
[4] 0.0373 - -0.4085 == 0.446
── Failure ('test_reorder_row.R:1147:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 14 string mismatches >
── Failure ('test_reorder_row.R:1157:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 3, 4, 2)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:1160:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 3, 4, 2)]`.
Differences:
2/4 mismatches (average diff: 0.293)
[2] 0.3313 - 0.0384 == 0.293
[4] 0.0384 - 0.3313 == -0.293
── Failure ('test_reorder_row.R:1166:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
6/22 mismatches (average diff: 0.206)
[3] 0.0373 - -0.4085 == 0.4458
[5] -0.4085 - 0.0373 == -0.4458
[14] 0.1670 - 0.0568 == 0.1102
[15] 0.0570 - 0.0354 == 0.0216
[16] -0.3131 - -0.1175 == -0.1956
[17] 0.2493 - 0.2332 == 0.0161
── Failure ('test_reorder_row.R:1168:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 3, 4, 2)]`.
Differences:
60/120 mismatches (average diff: 0.293)
[31] 0.321 - 0.0301 == 0.291
[32] 0.371 - 0.0354 == 0.336
[33] 0.377 - 0.0327 == 0.345
[34] 0.249 - 0.0342 == 0.215
[35] 0.265 - 0.0605 == 0.205
[36] 0.327 - 0.0292 == 0.297
[37] 0.352 - 0.0123 == 0.339
[38] 0.307 - 0.0406 == 0.266
[39] 0.368 - 0.0281 == 0.340
...
── Failure ('test_reorder_row.R:1184:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 3, 4, 2)]`.
Differences:
2/4 mismatches (average diff: 0.446)
[2] 0.0373 - -0.4085 == 0.446
[4] -0.4085 - 0.0373 == -0.446
── Failure ('test_reorder_row.R:1187:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 14 string mismatches >
── Failure ('test_reorder_row.R:1202:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 4, 2, 3)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:1203:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 4, 2, 3), ]`.
Differences:
2/4 mismatches (average diff: 0.00791)
[3] -0.125 - -0.133 == 0.00791
[4] -0.133 - -0.125 == -0.00791
── Failure ('test_reorder_row.R:1205:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 4, 2, 3)]`.
Differences:
2/4 mismatches (average diff: 0.0924)
[3] 0.274 - 0.181 == 0.0924
[4] 0.181 - 0.274 == -0.0924
── Failure ('test_reorder_row.R:1209:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
4/10 mismatches (average diff: 0.0278)
[4] 0.410 - 0.458 == -0.04779
[5] 0.458 - 0.410 == 0.04779
[8] -0.125 - -0.133 == 0.00791
[9] -0.133 - -0.125 == -0.00791
── Failure ('test_reorder_row.R:1211:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 4, 2, 3)]`.
Differences:
60/120 mismatches (average diff: 0.0924)
[61] 0.284 - 0.183 == 0.1004
[62] 0.277 - 0.182 == 0.0948
[63] 0.281 - 0.183 == 0.0977
[64] 0.250 - 0.159 == 0.0906
[65] 0.205 - 0.128 == 0.0766
[66] 0.275 - 0.181 == 0.0945
[67] 0.380 - 0.278 == 0.1018
[68] 0.252 - 0.159 == 0.0925
[69] 0.303 - 0.205 == 0.0981
...
── Failure ('test_reorder_row.R:1214:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 7 == NA
── Failure ('test_reorder_row.R:1215:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 7 - NA == NA
── Failure ('test_reorder_row.R:1220:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[2]]`.
Differences:
Lengths differ: 9 is not 0
── Failure ('test_reorder_row.R:1221:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[4]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 9
── Failure ('test_reorder_row.R:1227:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 4, 2, 3)]`.
Differences:
2/4 mismatches (average diff: 0.0478)
[3] 0.410 - 0.458 == -0.0478
[4] 0.458 - 0.410 == 0.0478
── Failure ('test_reorder_row.R:1228:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 4, 2, 3), ]`.
Differences:
2/4 mismatches (average diff: 0.00791)
[3] -0.125 - -0.133 == 0.00791
[4] -0.133 - -0.125 == -0.00791
── Failure ('test_reorder_row.R:1230:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 6 string mismatches >
── Failure ('test_reorder_row.R:1239:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 3, 2, 4)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:1240:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 3, 2, 4), ]`.
Differences:
2/4 mismatches (average diff: 0.00791)
[2] -0.133 - -0.125 == -0.00791
[3] -0.125 - -0.133 == 0.00791
── Failure ('test_reorder_row.R:1242:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 3, 2, 4)]`.
Differences:
2/4 mismatches (average diff: 0.0924)
[2] 0.181 - 0.274 == -0.0924
[3] 0.274 - 0.181 == 0.0924
── Failure ('test_reorder_row.R:1246:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
4/10 mismatches (average diff: 0.0278)
[3] 0.458 - 0.410 == 0.04779
[4] 0.410 - 0.458 == -0.04779
[7] -0.133 - -0.125 == -0.00791
[8] -0.125 - -0.133 == 0.00791
── Failure ('test_reorder_row.R:1248:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 3, 2, 4)]`.
Differences:
60/120 mismatches (average diff: 0.0924)
[31] 0.183 - 0.284 == -0.1004
[32] 0.182 - 0.277 == -0.0948
[33] 0.183 - 0.281 == -0.0977
[34] 0.159 - 0.250 == -0.0906
[35] 0.128 - 0.205 == -0.0766
[36] 0.181 - 0.275 == -0.0945
[37] 0.278 - 0.380 == -0.1018
[38] 0.159 - 0.252 == -0.0925
[39] 0.205 - 0.303 == -0.0981
...
── Failure ('test_reorder_row.R:1251:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 7 == NA
── Failure ('test_reorder_row.R:1252:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 7 - NA == NA
── Failure ('test_reorder_row.R:1256:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 9
── Failure ('test_reorder_row.R:1257:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[2]]`.
Differences:
Lengths differ: 9 is not 0
── Failure ('test_reorder_row.R:1264:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 3, 2, 4)]`.
Differences:
2/4 mismatches (average diff: 0.0478)
[2] 0.458 - 0.410 == 0.0478
[3] 0.410 - 0.458 == -0.0478
── Failure ('test_reorder_row.R:1265:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 3, 2, 4), ]`.
Differences:
2/4 mismatches (average diff: 0.00791)
[2] -0.133 - -0.125 == -0.00791
[3] -0.125 - -0.133 == 0.00791
── Failure ('test_reorder_row.R:1267:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 6 string mismatches >
── Failure ('test_reorder_row.R:1294:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 4, 3, 2)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:1295:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 4, 3, 2), ]`.
Differences:
2/4 mismatches (average diff: 0.0116)
[2] 0.147 - 0.136 == 0.0116
[3] 0.136 - 0.147 == -0.0116
── Failure ('test_reorder_row.R:1297:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 4, 3, 2)]`.
Differences:
2/4 mismatches (average diff: 0.233)
[2] 0.516 - 0.283 == 0.233
[3] 0.283 - 0.516 == -0.233
── Failure ('test_reorder_row.R:1301:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
4/20 mismatches (average diff: 0.0296)
[2] -0.456 - -0.408 == -0.0476
[3] -0.408 - -0.456 == 0.0476
[10] 0.147 - 0.136 == 0.0116
[11] 0.136 - 0.147 == -0.0116
── Failure ('test_reorder_row.R:1303:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 4, 3, 2)]`.
Differences:
60/120 mismatches (average diff: 0.233)
[31] 0.537 - 0.283 == 0.254
[32] 0.491 - 0.284 == 0.207
[33] 0.518 - 0.283 == 0.235
[34] 0.510 - 0.283 == 0.227
[35] 0.505 - 0.283 == 0.222
[36] 0.534 - 0.282 == 0.252
[37] 0.532 - 0.284 == 0.248
[38] 0.530 - 0.283 == 0.248
[39] 0.457 - 0.277 == 0.180
...
── Failure ('test_reorder_row.R:1306:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 1 - NA == NA
── Failure ('test_reorder_row.R:1307:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 1 == NA
── Failure ('test_reorder_row.R:1311:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[4]]`.
Differences:
Lengths differ: 30 is not 0
── Failure ('test_reorder_row.R:1312:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 30
── Failure ('test_reorder_row.R:1320:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 4, 3, 2)]`.
Differences:
2/4 mismatches (average diff: 0.0476)
[2] -0.456 - -0.408 == -0.0476
[3] -0.408 - -0.456 == 0.0476
── Failure ('test_reorder_row.R:1321:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 4, 3, 2), ]`.
Differences:
2/4 mismatches (average diff: 0.0116)
[2] 0.147 - 0.136 == 0.0116
[3] 0.136 - 0.147 == -0.0116
── Failure ('test_reorder_row.R:1323:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 6 string mismatches >
── Failure ('test_reorder_row.R:1332:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:1333:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov` to equal `orig$out_parlist$rowc_cov`.
Differences:
2/4 mismatches (average diff: 0.0116)
[3] 0.136 - 0.147 == -0.0116
[4] 0.147 - 0.136 == 0.0116
── Failure ('test_reorder_row.R:1335:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions`.
Differences:
2/4 mismatches (average diff: 0.233)
[3] 0.283 - 0.516 == -0.233
[4] 0.516 - 0.283 == 0.233
── Failure ('test_reorder_row.R:1337:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `orig$out_parvec`.
Differences:
4/20 mismatches (average diff: 0.0296)
[3] -0.408 - -0.456 == 0.0476
[4] -0.456 - -0.408 == -0.0476
[11] 0.136 - 0.147 == -0.0116
[12] 0.147 - 0.136 == 0.0116
── Failure ('test_reorder_row.R:1339:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs`.
Differences:
60/120 mismatches (average diff: 0.233)
[61] 0.283 - 0.537 == -0.254
[62] 0.284 - 0.491 == -0.207
[63] 0.283 - 0.518 == -0.235
[64] 0.283 - 0.510 == -0.227
[65] 0.283 - 0.505 == -0.222
[66] 0.282 - 0.534 == -0.252
[67] 0.284 - 0.532 == -0.248
[68] 0.283 - 0.530 == -0.248
[69] 0.277 - 0.457 == -0.180
...
── Failure ('test_reorder_row.R:1341:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_clusters` to equal `orig$row_clusters`.
Differences:
30/30 mismatches (average diff: 1)
[1] 4 - 3 == 1
[2] 4 - 3 == 1
[3] 4 - 3 == 1
[4] 4 - 3 == 1
[5] 4 - 3 == 1
[6] 4 - 3 == 1
[7] 4 - 3 == 1
[8] 4 - 3 == 1
[9] 4 - 3 == 1
...
── Failure ('test_reorder_row.R:1343:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members` to equal `orig$row_cluster_members`.
Differences:
Component 3: Numeric: lengths (0, 30) differ
Component 4: Numeric: lengths (30, 0) differ
── Failure ('test_reorder_row.R:1350:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc`.
Differences:
2/4 mismatches (average diff: 0.0476)
[3] -0.408 - -0.456 == 0.0476
[4] -0.456 - -0.408 == -0.0476
── Failure ('test_reorder_row.R:1351:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov` to equal `orig$EMstatus$params_for_best_lli$rowc_cov`.
Differences:
2/4 mismatches (average diff: 0.0116)
[3] 0.136 - 0.147 == -0.0116
[4] 0.147 - 0.136 == 0.0116
── Failure ('test_reorder_row.R:1353:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `orig$EMstatus$params_every_iteration`.
Differences:
Attributes: < Component "dimnames": Component 2: 6 string mismatches >
[ FAIL 132 | WARN 0 | SKIP 0 | PASS 3181 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-macos-arm64
Version: 2.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [63s/63s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(clustord)
>
> test_check("clustord")
Saving _problems/test_reorder_row-772.R
Saving _problems/test_reorder_row-773.R
Saving _problems/test_reorder_row-775.R
Saving _problems/test_reorder_row-786.R
Saving _problems/test_reorder_row-788.R
Saving _problems/test_reorder_row-791.R
Saving _problems/test_reorder_row-792.R
Saving _problems/test_reorder_row-796.R
Saving _problems/test_reorder_row-797.R
Saving _problems/test_reorder_row-805.R
Saving _problems/test_reorder_row-806.R
Saving _problems/test_reorder_row-808.R
Saving _problems/test_reorder_row-822.R
Saving _problems/test_reorder_row-823.R
Saving _problems/test_reorder_row-825.R
Saving _problems/test_reorder_row-836.R
Saving _problems/test_reorder_row-838.R
Saving _problems/test_reorder_row-842.R
Saving _problems/test_reorder_row-843.R
Saving _problems/test_reorder_row-847.R
Saving _problems/test_reorder_row-848.R
Saving _problems/test_reorder_row-855.R
Saving _problems/test_reorder_row-856.R
Saving _problems/test_reorder_row-858.R
Saving _problems/test_reorder_row-873.R
Saving _problems/test_reorder_row-874.R
Saving _problems/test_reorder_row-876.R
Saving _problems/test_reorder_row-880.R
Saving _problems/test_reorder_row-882.R
Saving _problems/test_reorder_row-885.R
Saving _problems/test_reorder_row-886.R
Saving _problems/test_reorder_row-887.R
Saving _problems/test_reorder_row-890.R
Saving _problems/test_reorder_row-891.R
Saving _problems/test_reorder_row-892.R
Saving _problems/test_reorder_row-899.R
Saving _problems/test_reorder_row-902.R
Saving _problems/test_reorder_row-912.R
Saving _problems/test_reorder_row-913.R
Saving _problems/test_reorder_row-915.R
Saving _problems/test_reorder_row-920.R
Saving _problems/test_reorder_row-922.R
Saving _problems/test_reorder_row-925.R
Saving _problems/test_reorder_row-926.R
Saving _problems/test_reorder_row-927.R
Saving _problems/test_reorder_row-930.R
Saving _problems/test_reorder_row-931.R
Saving _problems/test_reorder_row-932.R
Saving _problems/test_reorder_row-939.R
Saving _problems/test_reorder_row-942.R
Saving _problems/test_reorder_row-956.R
Saving _problems/test_reorder_row-957.R
Saving _problems/test_reorder_row-959.R
Saving _problems/test_reorder_row-963.R
Saving _problems/test_reorder_row-965.R
Saving _problems/test_reorder_row-968.R
Saving _problems/test_reorder_row-970.R
Saving _problems/test_reorder_row-973.R
Saving _problems/test_reorder_row-975.R
Saving _problems/test_reorder_row-982.R
Saving _problems/test_reorder_row-983.R
Saving _problems/test_reorder_row-985.R
Saving _problems/test_reorder_row-994.R
Saving _problems/test_reorder_row-995.R
Saving _problems/test_reorder_row-997.R
Saving _problems/test_reorder_row-1001.R
Saving _problems/test_reorder_row-1003.R
Saving _problems/test_reorder_row-1006.R
Saving _problems/test_reorder_row-1008.R
Saving _problems/test_reorder_row-1011.R
Saving _problems/test_reorder_row-1013.R
Saving _problems/test_reorder_row-1020.R
Saving _problems/test_reorder_row-1021.R
Saving _problems/test_reorder_row-1023.R
Saving _problems/test_reorder_row-1117.R
Saving _problems/test_reorder_row-1120.R
Saving _problems/test_reorder_row-1126.R
Saving _problems/test_reorder_row-1128.R
Saving _problems/test_reorder_row-1144.R
Saving _problems/test_reorder_row-1147.R
Saving _problems/test_reorder_row-1157.R
Saving _problems/test_reorder_row-1160.R
Saving _problems/test_reorder_row-1166.R
Saving _problems/test_reorder_row-1168.R
Saving _problems/test_reorder_row-1184.R
Saving _problems/test_reorder_row-1187.R
Saving _problems/test_reorder_row-1202.R
Saving _problems/test_reorder_row-1203.R
Saving _problems/test_reorder_row-1205.R
Saving _problems/test_reorder_row-1209.R
Saving _problems/test_reorder_row-1211.R
Saving _problems/test_reorder_row-1214.R
Saving _problems/test_reorder_row-1215.R
Saving _problems/test_reorder_row-1220.R
Saving _problems/test_reorder_row-1221.R
Saving _problems/test_reorder_row-1227.R
Saving _problems/test_reorder_row-1228.R
Saving _problems/test_reorder_row-1230.R
Saving _problems/test_reorder_row-1239.R
Saving _problems/test_reorder_row-1240.R
Saving _problems/test_reorder_row-1242.R
Saving _problems/test_reorder_row-1246.R
Saving _problems/test_reorder_row-1248.R
Saving _problems/test_reorder_row-1251.R
Saving _problems/test_reorder_row-1252.R
Saving _problems/test_reorder_row-1256.R
Saving _problems/test_reorder_row-1257.R
Saving _problems/test_reorder_row-1264.R
Saving _problems/test_reorder_row-1265.R
Saving _problems/test_reorder_row-1267.R
Saving _problems/test_reorder_row-1294.R
Saving _problems/test_reorder_row-1295.R
Saving _problems/test_reorder_row-1297.R
Saving _problems/test_reorder_row-1301.R
Saving _problems/test_reorder_row-1303.R
Saving _problems/test_reorder_row-1306.R
Saving _problems/test_reorder_row-1307.R
Saving _problems/test_reorder_row-1311.R
Saving _problems/test_reorder_row-1312.R
Saving _problems/test_reorder_row-1320.R
Saving _problems/test_reorder_row-1321.R
Saving _problems/test_reorder_row-1323.R
Saving _problems/test_reorder_row-1332.R
Saving _problems/test_reorder_row-1333.R
Saving _problems/test_reorder_row-1335.R
Saving _problems/test_reorder_row-1337.R
Saving _problems/test_reorder_row-1339.R
Saving _problems/test_reorder_row-1341.R
Saving _problems/test_reorder_row-1343.R
Saving _problems/test_reorder_row-1350.R
Saving _problems/test_reorder_row-1351.R
Saving _problems/test_reorder_row-1353.R
[ FAIL 132 | WARN 0 | SKIP 0 | PASS 3181 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_reorder_row.R:772:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 3, 4, 2)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:773:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 3, 4, 2), ]`.
Differences:
2/4 mismatches (average diff: 0.0566)
[2] 0.269 - 0.213 == 0.0566
[3] 0.213 - 0.269 == -0.0566
── Failure ('test_reorder_row.R:775:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 3, 4, 2)]`.
Differences:
2/4 mismatches (average diff: 0.0282)
[2] 0.242 - 0.270 == -0.0282
[3] 0.270 - 0.242 == 0.0282
── Failure ('test_reorder_row.R:786:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
4/22 mismatches (average diff: 0.0878)
[4] 0.212 - 0.331 == -0.1190
[5] 0.331 - 0.212 == 0.1190
[12] 0.269 - 0.213 == 0.0566
[13] 0.213 - 0.269 == -0.0566
── Failure ('test_reorder_row.R:788:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 3, 4, 2)]`.
Differences:
60/120 mismatches (average diff: 0.0286)
[31] 0.242 - 0.255 == -0.01352
[32] 0.242 - 0.263 == -0.02072
[33] 0.242 - 0.264 == -0.02226
[34] 0.241 - 0.248 == -0.00746
[35] 0.240 - 0.235 == 0.00541
[36] 0.243 - 0.273 == -0.03025
[37] 0.237 - 0.325 == -0.08766
[38] 0.240 - 0.243 == -0.00335
[39] 0.243 - 0.276 == -0.03226
...
── Failure ('test_reorder_row.R:791:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 7 == NA
── Failure ('test_reorder_row.R:792:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 7 - NA == NA
── Failure ('test_reorder_row.R:796:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 6
── Failure ('test_reorder_row.R:797:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[4]]`.
Differences:
Lengths differ: 6 is not 0
── Failure ('test_reorder_row.R:805:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 3, 4, 2)]`.
Differences:
2/4 mismatches (average diff: 0.119)
[2] 0.212 - 0.331 == -0.119
[3] 0.331 - 0.212 == 0.119
── Failure ('test_reorder_row.R:806:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 3, 4, 2), ]`.
Differences:
2/4 mismatches (average diff: 0.0566)
[2] 0.269 - 0.213 == 0.0566
[3] 0.213 - 0.269 == -0.0566
── Failure ('test_reorder_row.R:808:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 6 string mismatches >
── Failure ('test_reorder_row.R:822:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 2, 4, 3)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:823:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 2, 4, 3), ]`.
Differences:
2/4 mismatches (average diff: 0.0566)
[3] 0.213 - 0.269 == -0.0566
[4] 0.269 - 0.213 == 0.0566
── Failure ('test_reorder_row.R:825:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 2, 4, 3)]`.
Differences:
2/4 mismatches (average diff: 0.0282)
[3] 0.270 - 0.242 == 0.0282
[4] 0.242 - 0.270 == -0.0282
── Failure ('test_reorder_row.R:836:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
4/22 mismatches (average diff: 0.0878)
[5] 0.331 - 0.212 == 0.1190
[6] 0.212 - 0.331 == -0.1190
[13] 0.213 - 0.269 == -0.0566
[14] 0.269 - 0.213 == 0.0566
── Failure ('test_reorder_row.R:838:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 2, 4, 3)]`.
Differences:
60/120 mismatches (average diff: 0.0286)
[61] 0.255 - 0.242 == 0.01352
[62] 0.263 - 0.242 == 0.02072
[63] 0.264 - 0.242 == 0.02226
[64] 0.248 - 0.241 == 0.00746
[65] 0.235 - 0.240 == -0.00541
[66] 0.273 - 0.243 == 0.03025
[67] 0.325 - 0.237 == 0.08766
[68] 0.243 - 0.240 == 0.00335
[69] 0.276 - 0.243 == 0.03226
...
── Failure ('test_reorder_row.R:842:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 7 - NA == NA
── Failure ('test_reorder_row.R:843:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("4", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 7 == NA
── Failure ('test_reorder_row.R:847:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[4]]`.
Differences:
Lengths differ: 6 is not 0
── Failure ('test_reorder_row.R:848:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[4]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 6
── Failure ('test_reorder_row.R:855:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 2, 4, 3)]`.
Differences:
2/4 mismatches (average diff: 0.119)
[3] 0.331 - 0.212 == 0.119
[4] 0.212 - 0.331 == -0.119
── Failure ('test_reorder_row.R:856:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 2, 4, 3), ]`.
Differences:
2/4 mismatches (average diff: 0.0566)
[3] 0.213 - 0.269 == -0.0566
[4] 0.269 - 0.213 == 0.0566
── Failure ('test_reorder_row.R:858:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 6 string mismatches >
── Failure ('test_reorder_row.R:873:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 3, 2, 4)]`.
Differences:
Names: 3 string mismatches
── Failure ('test_reorder_row.R:874:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_col` to equal `orig$out_parlist$rowc_col[c(1, 3, 2, 4), ]`.
Differences:
15/20 mismatches (average diff: 0.552)
[2] -0.3903 - 0.3044 == -0.6947
[3] -0.3357 - -0.3903 == 0.0546
[4] 0.3044 - -0.3357 == 0.6401
[6] -0.1200 - 0.1042 == -0.2243
[7] -0.0986 - -0.1200 == 0.0214
[8] 0.1042 - -0.0986 == 0.2028
[10] 0.4790 - -0.5022 == 0.9812
[11] 0.6708 - 0.4790 == 0.1918
[12] -0.5022 - 0.6708 == -1.1730
...
── Failure ('test_reorder_row.R:876:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 3, 2, 4)]`.
Differences:
3/4 mismatches (average diff: 0.143)
[2] 0.143 - 0.357 == -0.215
[3] 0.252 - 0.143 == 0.109
[4] 0.357 - 0.252 == 0.106
── Failure ('test_reorder_row.R:880:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
11/23 mismatches (average diff: 0.411)
[4] -0.6771 - -0.0949 == -0.5822
[5] -0.3104 - -0.6771 == 0.3668
[6] -0.0949 - -0.3104 == 0.2155
[15] -0.3903 - 0.3044 == -0.6947
[16] -0.1200 - 0.1042 == -0.2243
[17] 0.4790 - -0.5022 == 0.9812
[18] 0.2049 - 0.3206 == -0.1157
[19] -0.3357 - -0.3903 == 0.0546
[20] -0.0986 - -0.1200 == 0.0214
...
── Failure ('test_reorder_row.R:882:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 3, 2, 4)]`.
Differences:
90/120 mismatches (average diff: 0.174)
[31] 0.0914 - 0.345 == -0.2537
[32] 0.1257 - 0.417 == -0.2917
[33] 0.1129 - 0.422 == -0.3091
[34] 0.1569 - 0.242 == -0.0851
[35] 0.2439 - 0.264 == -0.0204
[36] 0.1069 - 0.338 == -0.2307
[37] 0.0486 - 0.366 == -0.3172
[38] 0.1587 - 0.322 == -0.1634
[39] 0.1264 - 0.402 == -0.2754
...
── Failure ('test_reorder_row.R:885:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 1 == NA
── Failure ('test_reorder_row.R:886:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("2", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 4 - NA == NA
── Failure ('test_reorder_row.R:887:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("4", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 1 - 4 == -3
── Failure ('test_reorder_row.R:890:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 23
── Failure ('test_reorder_row.R:891:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[2]]`.
Differences:
Lengths differ: 7 is not 0
── Failure ('test_reorder_row.R:892:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[4]]` to equal `orig$row_cluster_members[[4]]`.
Differences:
Lengths differ: 23 is not 7
── Failure ('test_reorder_row.R:899:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 3, 2, 4)]`.
Differences:
3/4 mismatches (average diff: 0.388)
[2] -0.6771 - -0.0949 == -0.582
[3] -0.3104 - -0.6771 == 0.367
[4] -0.0949 - -0.3104 == 0.215
── Failure ('test_reorder_row.R:902:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 21 string mismatches >
── Failure ('test_reorder_row.R:912:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 4, 2, 3)]`.
Differences:
Names: 3 string mismatches
── Failure ('test_reorder_row.R:913:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_col` to equal `orig$out_parlist$rowc_col[c(1, 4, 2, 3), ]`.
Differences:
15/20 mismatches (average diff: 0.552)
[2] 0.3044 - -0.3357 == 0.6401
[3] -0.3357 - -0.3903 == 0.0546
[4] -0.3903 - 0.3044 == -0.6947
[6] 0.1042 - -0.0986 == 0.2028
[7] -0.0986 - -0.1200 == 0.0214
[8] -0.1200 - 0.1042 == -0.2243
[10] -0.5022 - 0.6708 == -1.1730
[11] 0.6708 - 0.4790 == 0.1918
[12] 0.4790 - -0.5022 == 0.9812
...
── Failure ('test_reorder_row.R:915:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 4, 2, 3)]`.
Differences:
3/4 mismatches (average diff: 0.143)
[2] 0.357 - 0.252 == 0.106
[3] 0.252 - 0.143 == 0.109
[4] 0.143 - 0.357 == -0.215
── Failure ('test_reorder_row.R:920:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
11/23 mismatches (average diff: 0.519)
[4] -0.0949 - -0.3104 == 0.2155
[5] -0.3104 - -0.6771 == 0.3668
[6] -0.6771 - -0.0949 == -0.5822
[15] 0.3044 - -0.3357 == 0.6401
[16] 0.1042 - -0.0986 == 0.2028
[17] -0.5022 - 0.6708 == -1.1730
[18] 0.3206 - -0.8699 == 1.1905
[19] -0.3357 - -0.3903 == 0.0546
[20] -0.0986 - -0.1200 == 0.0214
...
── Failure ('test_reorder_row.R:922:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 4, 2, 3)]`.
Differences:
90/120 mismatches (average diff: 0.174)
[31] 0.345 - 0.317 == 0.0282
[32] 0.417 - 0.165 == 0.2520
[33] 0.422 - 0.163 == 0.2590
[34] 0.242 - 0.447 == -0.2049
[35] 0.264 - 0.333 == -0.0683
[36] 0.338 - 0.322 == 0.0152
[37] 0.366 - 0.301 == 0.0653
[38] 0.322 - 0.306 == 0.0164
[39] 0.402 - 0.193 == 0.2092
...
── Failure ('test_reorder_row.R:925:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 1 - 4 == -3
── Failure ('test_reorder_row.R:926:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("2", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 4 - NA == NA
── Failure ('test_reorder_row.R:927:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("4", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 1 == NA
── Failure ('test_reorder_row.R:930:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[4]]`.
Differences:
Lengths differ: 23 is not 7
── Failure ('test_reorder_row.R:931:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[2]]`.
Differences:
Lengths differ: 7 is not 0
── Failure ('test_reorder_row.R:932:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[4]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 23
── Failure ('test_reorder_row.R:939:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 4, 2, 3)]`.
Differences:
3/4 mismatches (average diff: 0.388)
[2] -0.0949 - -0.3104 == 0.215
[3] -0.3104 - -0.6771 == 0.367
[4] -0.6771 - -0.0949 == -0.582
── Failure ('test_reorder_row.R:942:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 21 string mismatches >
── Failure ('test_reorder_row.R:956:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 3, 4, 2)]`.
Differences:
Names: 3 string mismatches
── Failure ('test_reorder_row.R:957:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 3, 4, 2), ]`.
Differences:
3/4 mismatches (average diff: 0.0452)
[2] -0.239 - -0.171 == -0.06787
[3] -0.173 - -0.239 == 0.06554
[4] -0.171 - -0.173 == 0.00233
── Failure ('test_reorder_row.R:959:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 3, 4, 2)]`.
Differences:
3/4 mismatches (average diff: 0.0525)
[2] 0.221 - 0.223 == -0.00122
[3] 0.144 - 0.221 == -0.07746
[4] 0.223 - 0.144 == 0.07868
── Failure ('test_reorder_row.R:963:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
6/11 mismatches (average diff: 0.1)
[4] 0.372 - 0.605 == -0.23308
[5] 0.600 - 0.372 == 0.22780
[6] 0.605 - 0.600 == 0.00528
[8] -0.239 - -0.171 == -0.06787
[9] -0.173 - -0.239 == 0.06554
[10] -0.171 - -0.173 == 0.00233
── Failure ('test_reorder_row.R:965:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 3, 4, 2)]`.
Differences:
90/120 mismatches (average diff: 0.0643)
[31] 0.228 - 0.223 == 0.00477
[32] 0.229 - 0.227 == 0.00231
[33] 0.223 - 0.206 == 0.01776
[34] 0.217 - 0.185 == 0.03144
[35] 0.207 - 0.163 == 0.04446
[36] 0.220 - 0.194 == 0.02580
[37] 0.228 - 0.357 == -0.12965
[38] 0.207 - 0.163 == 0.04418
[39] 0.232 - 0.240 == -0.00787
...
── Failure ('test_reorder_row.R:968:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 7 == NA
── Failure ('test_reorder_row.R:970:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("4", reord$row_clusters)` to equal `match("2", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 7 - NA == NA
── Failure ('test_reorder_row.R:973:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 5
── Failure ('test_reorder_row.R:975:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[4]]` to equal `orig$row_cluster_members[[2]]`.
Differences:
Lengths differ: 5 is not 0
── Failure ('test_reorder_row.R:982:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 3, 4, 2)]`.
Differences:
3/4 mismatches (average diff: 0.155)
[2] 0.372 - 0.605 == -0.23308
[3] 0.600 - 0.372 == 0.22780
[4] 0.605 - 0.600 == 0.00528
── Failure ('test_reorder_row.R:983:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 3, 4, 2), ]`.
Differences:
3/4 mismatches (average diff: 0.0452)
[2] -0.239 - -0.171 == -0.06787
[3] -0.173 - -0.239 == 0.06554
[4] -0.171 - -0.173 == 0.00233
── Failure ('test_reorder_row.R:985:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 9 string mismatches >
── Failure ('test_reorder_row.R:994:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 2, 4, 3)]`.
Differences:
Names: 3 string mismatches
── Failure ('test_reorder_row.R:995:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 2, 4, 3), ]`.
Differences:
3/4 mismatches (average diff: 0.0452)
[2] -0.171 - -0.173 == 0.00233
[3] -0.173 - -0.239 == 0.06554
[4] -0.239 - -0.171 == -0.06787
── Failure ('test_reorder_row.R:997:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 2, 4, 3)]`.
Differences:
3/4 mismatches (average diff: 0.0525)
[2] 0.223 - 0.144 == 0.07868
[3] 0.144 - 0.221 == -0.07746
[4] 0.221 - 0.223 == -0.00122
── Failure ('test_reorder_row.R:1001:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
6/11 mismatches (average diff: 0.1)
[4] 0.605 - 0.600 == 0.00528
[5] 0.600 - 0.372 == 0.22780
[6] 0.372 - 0.605 == -0.23308
[8] -0.171 - -0.173 == 0.00233
[9] -0.173 - -0.239 == 0.06554
[10] -0.239 - -0.171 == -0.06787
── Failure ('test_reorder_row.R:1003:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 2, 4, 3)]`.
Differences:
90/120 mismatches (average diff: 0.0643)
[31] 0.223 - 0.144 == 0.0786
[32] 0.227 - 0.147 == 0.0801
[33] 0.206 - 0.133 == 0.0724
[34] 0.185 - 0.120 == 0.0650
[35] 0.163 - 0.106 == 0.0569
[36] 0.194 - 0.126 == 0.0682
[37] 0.357 - 0.229 == 0.1284
[38] 0.163 - 0.106 == 0.0569
[39] 0.240 - 0.155 == 0.0847
...
── Failure ('test_reorder_row.R:1006:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("2", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 7 - NA == NA
── Failure ('test_reorder_row.R:1008:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("4", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 7 == NA
── Failure ('test_reorder_row.R:1011:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[2]]`.
Differences:
Lengths differ: 5 is not 0
── Failure ('test_reorder_row.R:1013:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[4]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 5
── Failure ('test_reorder_row.R:1020:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 2, 4, 3)]`.
Differences:
3/4 mismatches (average diff: 0.155)
[2] 0.605 - 0.600 == 0.00528
[3] 0.600 - 0.372 == 0.22780
[4] 0.372 - 0.605 == -0.23308
── Failure ('test_reorder_row.R:1021:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 2, 4, 3), ]`.
Differences:
3/4 mismatches (average diff: 0.0452)
[2] -0.171 - -0.173 == 0.00233
[3] -0.173 - -0.239 == 0.06554
[4] -0.239 - -0.171 == -0.06787
── Failure ('test_reorder_row.R:1023:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 9 string mismatches >
── Failure ('test_reorder_row.R:1117:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 2, 4, 3)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:1120:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 2, 4, 3)]`.
Differences:
2/4 mismatches (average diff: 0.293)
[2] 0.0384 - 0.3313 == -0.293
[4] 0.3313 - 0.0384 == 0.293
── Failure ('test_reorder_row.R:1126:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
6/22 mismatches (average diff: 0.206)
[3] -0.4085 - 0.0373 == -0.4458
[5] 0.0373 - -0.4085 == 0.4458
[14] 0.0568 - 0.1670 == -0.1102
[15] 0.0354 - 0.0570 == -0.0216
[16] -0.1175 - -0.3131 == 0.1956
[17] 0.2332 - 0.2493 == -0.0161
── Failure ('test_reorder_row.R:1128:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 2, 4, 3)]`.
Differences:
60/120 mismatches (average diff: 0.293)
[31] 0.0301 - 0.321 == -0.291
[32] 0.0354 - 0.371 == -0.336
[33] 0.0327 - 0.377 == -0.345
[34] 0.0342 - 0.249 == -0.215
[35] 0.0605 - 0.265 == -0.205
[36] 0.0292 - 0.327 == -0.297
[37] 0.0123 - 0.352 == -0.339
[38] 0.0406 - 0.307 == -0.266
[39] 0.0281 - 0.368 == -0.340
...
── Failure ('test_reorder_row.R:1144:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 2, 4, 3)]`.
Differences:
2/4 mismatches (average diff: 0.446)
[2] -0.4085 - 0.0373 == -0.446
[4] 0.0373 - -0.4085 == 0.446
── Failure ('test_reorder_row.R:1147:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 14 string mismatches >
── Failure ('test_reorder_row.R:1157:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 3, 4, 2)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:1160:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 3, 4, 2)]`.
Differences:
2/4 mismatches (average diff: 0.293)
[2] 0.3313 - 0.0384 == 0.293
[4] 0.0384 - 0.3313 == -0.293
── Failure ('test_reorder_row.R:1166:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
6/22 mismatches (average diff: 0.206)
[3] 0.0373 - -0.4085 == 0.4458
[5] -0.4085 - 0.0373 == -0.4458
[14] 0.1670 - 0.0568 == 0.1102
[15] 0.0570 - 0.0354 == 0.0216
[16] -0.3131 - -0.1175 == -0.1956
[17] 0.2493 - 0.2332 == 0.0161
── Failure ('test_reorder_row.R:1168:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 3, 4, 2)]`.
Differences:
60/120 mismatches (average diff: 0.293)
[31] 0.321 - 0.0301 == 0.291
[32] 0.371 - 0.0354 == 0.336
[33] 0.377 - 0.0327 == 0.345
[34] 0.249 - 0.0342 == 0.215
[35] 0.265 - 0.0605 == 0.205
[36] 0.327 - 0.0292 == 0.297
[37] 0.352 - 0.0123 == 0.339
[38] 0.307 - 0.0406 == 0.266
[39] 0.368 - 0.0281 == 0.340
...
── Failure ('test_reorder_row.R:1184:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 3, 4, 2)]`.
Differences:
2/4 mismatches (average diff: 0.446)
[2] 0.0373 - -0.4085 == 0.446
[4] -0.4085 - 0.0373 == -0.446
── Failure ('test_reorder_row.R:1187:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 14 string mismatches >
── Failure ('test_reorder_row.R:1202:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 4, 2, 3)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:1203:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 4, 2, 3), ]`.
Differences:
2/4 mismatches (average diff: 0.00791)
[3] -0.125 - -0.133 == 0.00791
[4] -0.133 - -0.125 == -0.00791
── Failure ('test_reorder_row.R:1205:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 4, 2, 3)]`.
Differences:
2/4 mismatches (average diff: 0.0924)
[3] 0.274 - 0.181 == 0.0924
[4] 0.181 - 0.274 == -0.0924
── Failure ('test_reorder_row.R:1209:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
4/10 mismatches (average diff: 0.0278)
[4] 0.410 - 0.458 == -0.04779
[5] 0.458 - 0.410 == 0.04779
[8] -0.125 - -0.133 == 0.00791
[9] -0.133 - -0.125 == -0.00791
── Failure ('test_reorder_row.R:1211:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 4, 2, 3)]`.
Differences:
60/120 mismatches (average diff: 0.0924)
[61] 0.284 - 0.183 == 0.1004
[62] 0.277 - 0.182 == 0.0948
[63] 0.281 - 0.183 == 0.0977
[64] 0.250 - 0.159 == 0.0906
[65] 0.205 - 0.128 == 0.0766
[66] 0.275 - 0.181 == 0.0945
[67] 0.380 - 0.278 == 0.1018
[68] 0.252 - 0.159 == 0.0925
[69] 0.303 - 0.205 == 0.0981
...
── Failure ('test_reorder_row.R:1214:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 7 == NA
── Failure ('test_reorder_row.R:1215:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 7 - NA == NA
── Failure ('test_reorder_row.R:1220:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[2]]`.
Differences:
Lengths differ: 9 is not 0
── Failure ('test_reorder_row.R:1221:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[4]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 9
── Failure ('test_reorder_row.R:1227:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 4, 2, 3)]`.
Differences:
2/4 mismatches (average diff: 0.0478)
[3] 0.410 - 0.458 == -0.0478
[4] 0.458 - 0.410 == 0.0478
── Failure ('test_reorder_row.R:1228:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 4, 2, 3), ]`.
Differences:
2/4 mismatches (average diff: 0.00791)
[3] -0.125 - -0.133 == 0.00791
[4] -0.133 - -0.125 == -0.00791
── Failure ('test_reorder_row.R:1230:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 6 string mismatches >
── Failure ('test_reorder_row.R:1239:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 3, 2, 4)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:1240:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 3, 2, 4), ]`.
Differences:
2/4 mismatches (average diff: 0.00791)
[2] -0.133 - -0.125 == -0.00791
[3] -0.125 - -0.133 == 0.00791
── Failure ('test_reorder_row.R:1242:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 3, 2, 4)]`.
Differences:
2/4 mismatches (average diff: 0.0924)
[2] 0.181 - 0.274 == -0.0924
[3] 0.274 - 0.181 == 0.0924
── Failure ('test_reorder_row.R:1246:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
4/10 mismatches (average diff: 0.0278)
[3] 0.458 - 0.410 == 0.04779
[4] 0.410 - 0.458 == -0.04779
[7] -0.133 - -0.125 == -0.00791
[8] -0.125 - -0.133 == 0.00791
── Failure ('test_reorder_row.R:1248:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 3, 2, 4)]`.
Differences:
60/120 mismatches (average diff: 0.0924)
[31] 0.183 - 0.284 == -0.1004
[32] 0.182 - 0.277 == -0.0948
[33] 0.183 - 0.281 == -0.0977
[34] 0.159 - 0.250 == -0.0906
[35] 0.128 - 0.205 == -0.0766
[36] 0.181 - 0.275 == -0.0945
[37] 0.278 - 0.380 == -0.1018
[38] 0.159 - 0.252 == -0.0925
[39] 0.205 - 0.303 == -0.0981
...
── Failure ('test_reorder_row.R:1251:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 7 == NA
── Failure ('test_reorder_row.R:1252:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 7 - NA == NA
── Failure ('test_reorder_row.R:1256:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 9
── Failure ('test_reorder_row.R:1257:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[2]]`.
Differences:
Lengths differ: 9 is not 0
── Failure ('test_reorder_row.R:1264:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 3, 2, 4)]`.
Differences:
2/4 mismatches (average diff: 0.0478)
[2] 0.458 - 0.410 == 0.0478
[3] 0.410 - 0.458 == -0.0478
── Failure ('test_reorder_row.R:1265:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 3, 2, 4), ]`.
Differences:
2/4 mismatches (average diff: 0.00791)
[2] -0.133 - -0.125 == -0.00791
[3] -0.125 - -0.133 == 0.00791
── Failure ('test_reorder_row.R:1267:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 6 string mismatches >
── Failure ('test_reorder_row.R:1294:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc[c(1, 4, 3, 2)]`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:1295:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov[, 1]` to equal `orig$out_parlist$rowc_cov[c(1, 4, 3, 2), ]`.
Differences:
2/4 mismatches (average diff: 0.0116)
[2] 0.147 - 0.136 == 0.0116
[3] 0.136 - 0.147 == -0.0116
── Failure ('test_reorder_row.R:1297:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions[c(1, 4, 3, 2)]`.
Differences:
2/4 mismatches (average diff: 0.233)
[2] 0.516 - 0.283 == 0.233
[3] 0.283 - 0.516 == -0.233
── Failure ('test_reorder_row.R:1301:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `reconstruct_out_parvec`.
Differences:
4/20 mismatches (average diff: 0.0296)
[2] -0.456 - -0.408 == -0.0476
[3] -0.408 - -0.456 == 0.0476
[10] 0.147 - 0.136 == 0.0116
[11] 0.136 - 0.147 == -0.0116
── Failure ('test_reorder_row.R:1303:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs[, c(1, 4, 3, 2)]`.
Differences:
60/120 mismatches (average diff: 0.233)
[31] 0.537 - 0.283 == 0.254
[32] 0.491 - 0.284 == 0.207
[33] 0.518 - 0.283 == 0.235
[34] 0.510 - 0.283 == 0.227
[35] 0.505 - 0.283 == 0.222
[36] 0.534 - 0.282 == 0.252
[37] 0.532 - 0.284 == 0.248
[38] 0.530 - 0.283 == 0.248
[39] 0.457 - 0.277 == 0.180
...
── Failure ('test_reorder_row.R:1306:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("2", reord$row_clusters)` to equal `match("4", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] 1 - NA == NA
── Failure ('test_reorder_row.R:1307:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `match("3", reord$row_clusters)` to equal `match("3", orig$row_clusters)`.
Differences:
1/1 mismatches
[1] NA - 1 == NA
── Failure ('test_reorder_row.R:1311:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[2]]` to equal `orig$row_cluster_members[[4]]`.
Differences:
Lengths differ: 30 is not 0
── Failure ('test_reorder_row.R:1312:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members[[3]]` to equal `orig$row_cluster_members[[3]]`.
Differences:
Lengths differ: 0 is not 30
── Failure ('test_reorder_row.R:1320:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc[c(1, 4, 3, 2)]`.
Differences:
2/4 mismatches (average diff: 0.0476)
[2] -0.456 - -0.408 == -0.0476
[3] -0.408 - -0.456 == 0.0476
── Failure ('test_reorder_row.R:1321:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov[, 1]` to equal `orig$EMstatus$params_for_best_lli$rowc_cov[c(1, 4, 3, 2), ]`.
Differences:
2/4 mismatches (average diff: 0.0116)
[2] 0.147 - 0.136 == 0.0116
[3] 0.136 - 0.147 == -0.0116
── Failure ('test_reorder_row.R:1323:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `...[]`.
Differences:
Attributes: < Component "dimnames": Component 2: 6 string mismatches >
── Failure ('test_reorder_row.R:1332:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc` to equal `orig$out_parlist$rowc`.
Differences:
Names: 2 string mismatches
── Failure ('test_reorder_row.R:1333:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parlist$rowc_cov` to equal `orig$out_parlist$rowc_cov`.
Differences:
2/4 mismatches (average diff: 0.0116)
[3] 0.136 - 0.147 == -0.0116
[4] 0.147 - 0.136 == 0.0116
── Failure ('test_reorder_row.R:1335:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_proportions` to equal `orig$row_cluster_proportions`.
Differences:
2/4 mismatches (average diff: 0.233)
[3] 0.283 - 0.516 == -0.233
[4] 0.516 - 0.283 == 0.233
── Failure ('test_reorder_row.R:1337:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$out_parvec` to equal `orig$out_parvec`.
Differences:
4/20 mismatches (average diff: 0.0296)
[3] -0.408 - -0.456 == 0.0476
[4] -0.456 - -0.408 == -0.0476
[11] 0.136 - 0.147 == -0.0116
[12] 0.147 - 0.136 == 0.0116
── Failure ('test_reorder_row.R:1339:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_probs` to equal `orig$row_cluster_probs`.
Differences:
60/120 mismatches (average diff: 0.233)
[61] 0.283 - 0.537 == -0.254
[62] 0.284 - 0.491 == -0.207
[63] 0.283 - 0.518 == -0.235
[64] 0.283 - 0.510 == -0.227
[65] 0.283 - 0.505 == -0.222
[66] 0.282 - 0.534 == -0.252
[67] 0.284 - 0.532 == -0.248
[68] 0.283 - 0.530 == -0.248
[69] 0.277 - 0.457 == -0.180
...
── Failure ('test_reorder_row.R:1341:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_clusters` to equal `orig$row_clusters`.
Differences:
30/30 mismatches (average diff: 1)
[1] 4 - 3 == 1
[2] 4 - 3 == 1
[3] 4 - 3 == 1
[4] 4 - 3 == 1
[5] 4 - 3 == 1
[6] 4 - 3 == 1
[7] 4 - 3 == 1
[8] 4 - 3 == 1
[9] 4 - 3 == 1
...
── Failure ('test_reorder_row.R:1343:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$row_cluster_members` to equal `orig$row_cluster_members`.
Differences:
Component 3: Numeric: lengths (0, 30) differ
Component 4: Numeric: lengths (30, 0) differ
── Failure ('test_reorder_row.R:1350:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc` to equal `orig$EMstatus$params_for_best_lli$rowc`.
Differences:
2/4 mismatches (average diff: 0.0476)
[3] -0.408 - -0.456 == 0.0476
[4] -0.456 - -0.408 == -0.0476
── Failure ('test_reorder_row.R:1351:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_for_best_lli$rowc_cov` to equal `orig$EMstatus$params_for_best_lli$rowc_cov`.
Differences:
2/4 mismatches (average diff: 0.0116)
[3] 0.136 - 0.147 == -0.0116
[4] 0.147 - 0.136 == 0.0116
── Failure ('test_reorder_row.R:1353:5'): reordering row clustering results with other constraint produces correct results. ──
Expected `reord$EMstatus$params_every_iteration` to equal `orig$EMstatus$params_every_iteration`.
Differences:
Attributes: < Component "dimnames": Component 2: 6 string mismatches >
[ FAIL 132 | WARN 0 | SKIP 0 | PASS 3181 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-macos-arm64