Running ‘testthat.R’ [39s/44s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(tidyclust)
  > 
  > test_check("tidyclust")
  [ FAIL 2 | WARN 0 | SKIP 52 | PASS 159 ]
  
  ══ Skipped tests (52) ══════════════════════════════════════════════════════════
  • On CRAN (48): 'test-arguments.R:27:3', 'test-arguments.R:35:3',
    'test-arguments.R:41:3', 'test-augment.R:31:3',
    'test-cluster_metric_set.R:24:3', 'test-cluster_metric_set.R:35:3',
    'test-cluster_metric_set.R:47:3', 'test-control.R:19:3',
    'test-engines.R:2:3', 'test-extract_centroids.R:4:3',
    'test-extract_centroids.R:15:3', 'test-extract_centroids.R:27:3',
    'test-extract_centroids.R:39:3', 'test-extract_cluster_assignment.R:4:3',
    'test-extract_cluster_assignment.R:15:3',
    'test-extract_cluster_assignment.R:27:3',
    'test-extract_cluster_assignment.R:39:3', 'test-extract_fit_summary.R:61:3',
    'test-fiting.R:7:3', 'test-hier_clust.R:29:3', 'test-hier_clust.R:179:3',
    'test-hier_clust.R:188:3', 'test-k_means-clustMixType.R:104:3',
    'test-k_means.R:40:3', 'test-k_means.R:108:3', 'test-k_means.R:117:3',
    'test-k_means.R:168:3', 'test-metric-silhouette.R:23:3',
    'test-metric-silhouette.R:32:3', 'test-metric-sse.R:4:3',
    'test-metric-sse.R:13:3', 'test-metric-sse.R:22:3', 'test-metric-sse.R:31:3',
    'test-predict.R:4:3', 'test-predict.R:15:3', 'test-predict.R:27:3',
    'test-predict.R:39:3', 'test-reconcile_clusterings.R:26:3',
    'test-reconcile_clusterings.R:48:3', 'test-tune_cluster.R:194:3',
    'test-tune_cluster.R:255:3', 'test-tune_cluster.R:283:3',
    'test-tune_cluster.R:295:3', 'test-tune_cluster.R:380:3',
    'test-tune_cluster.R:440:3', 'test-workflows.R:18:3',
    'test-workflows.R:41:3', 'test-workflows.R:65:3'
  • empty test (4): 'test-control.R:1:1', 'test-hier_clust-stats.R:1:1',
    'test-k_means-clusterR.R:1:1', 'test-k_means-stats.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-k_means_diagnostics.R:139:3'): kmeans sihouette metrics work with new data ──
  silhouette_avg_vec(kmeans_fit_stats, new_data = new_data) (`actual`) not equal to 0.5176315 (`expected`).
  
    `actual`: 0.64
  `expected`: 0.52
  ── Failure ('test-k_means_diagnostics.R:144:3'): kmeans sihouette metrics work with new data ──
  silhouette_avg_vec(kmeans_fit_ClusterR, new_data = new_data) (`actual`) not equal to 0.5176315 (`expected`).
  
    `actual`: 0.64
  `expected`: 0.52
  
  [ FAIL 2 | WARN 0 | SKIP 52 | PASS 159 ]
  Error: Test failures
  Execution halted