tests/testthat/_snaps/extract_cluster_assignment.md

extract_cluster_assignment() errors for cluster spec

Code
  extract_cluster_assignment(spec)
Condition
  Error in `extract_cluster_assignment()`:
  ! This function requires a fitted model.
  i Please use `fit()` on your cluster specification.

extract_cluster_assignment() errors for hier_clust() with missing args

Code
  extract_cluster_assignment(hclust_fit)
Condition
  Error in `extract_cluster_assignment()`:
  ! Please specify either `num_clusters` or `cut_height`.

extract_cluster_assignment() errors for hier_clust() with k arg

Code
  extract_cluster_assignment(hclust_fit, k = 3)
Condition
  Error in `extract_cluster_assignment()`:
  ! Using `k` argument is not supported.
  i Please use `num_clusters` instead.

extract_cluster_assignment() errors for hier_clust() with h arg

Code
  extract_cluster_assignment(hclust_fit, h = 3)
Condition
  Error in `extract_cluster_assignment()`:
  ! Using `h` argument is not supported.
  i Please use `cut_height` instead.


EmilHvitfeldt/celery documentation built on June 13, 2025, 2:58 a.m.