Changes in version 1.0-1 (2026-12-05) This is the first release of clusta. Main methods - spectral_mpdp() implements Spectral Mathematical Programming Dynamic Programming clustering, or S-MPDP. It unfolds multivariate data into a one-dimensional signal and finds cluster boundaries with dynamic programming. - mpdp() applies the distribution-aware dynamic program to one variable. - clusta() provides one interface for the "wcss", "projection", "estvar", "parametric", "spectral", "exact2d", "sweep", "sequence", and "graph" methods. - The exact one-dimensional methods return globally optimal contiguous partitions for their stated objective. - Multivariate WCSS results include a lower bound and an optimality gap when these quantities are available. S-MPDP results and diagnostics - spectral_mpdp() returns an object of class "smpdp". - print() and summary() report the fitted distribution, boundaries, cluster sizes, graph connectivity, and assignment confidence. - plot() and autoplot() provide cluster, signal, confidence, eigengap, similarity, and profile views. - suggest_k() uses the Stage 1 eigengap as a guide to the number of clusters. - cluster_stability() measures how consistently clusters reappear in bootstrap samples. - smpdp_sensitivity() evaluates combinations of neighbourhood size and cluster count. - friedman_ranks() compares methods across several datasets. Evaluation and comparison - cluster_metrics() reports ARI, NMI, Silhouette, Purity, Accuracy, Calinski-Harabasz, Davies-Bouldin, and Dunn scores. - run_clustering_benchmarks() compares a user-selected set of methods: S-MPDP, k-means, spectral clustering, HDBSCAN, agglomerative clustering, and, when sClust is installed, multi-level spectral clustering (MSC). - cluster_metrics() can compute a selected subset of metrics. This avoids unnecessary distance calculations on large datasets. - clusta_elbow() compares candidate cluster counts with WCSS, BIC, silhouette width, and the optimality gap. - clusta_compare() provides a direct comparison with kmeans(). Distribution fitting - method = "parametric" supports fitdistrplus and, when installed, FitVerse. - fit_engine = "best" evaluates both engines and retains the result with the lower empirical weighted within-cluster spread. - Fitting warnings no longer discard otherwise valid distribution fits. - The selected family, fitted parameters, engine, and ranking table are stored in the result. Data and reproducibility - The package includes the glass, breast_cancer, raisin, rice, ceramic, image_segmentation, waveform, v_shape, cassini, and smpdp_toy datasets. - Generators are provided for two moons, a V-shape, concentric circles, a smiley shape, three spirals, and a Cassini shape. - The test suite checks the exact dynamic-programming methods against exhaustive solutions on small examples. - The bundled Shiny app uses package functions for its analyses and figures. Results shown in the app can also be reproduced from the R console. - The app includes all six simulated datasets used in the paper, the image segmentation and waveform data, method and metric selectors for benchmark comparisons, dataset-specific neighbourhood defaults, and cluster counts up to 50. - The built-in Waveform dataset now starts with k_neighbors = 50. Reliability and safeguards - S-MPDP checks whether the Stage 1 graph is disconnected or contains isolated observations. - The Shiny app removes the selected label column from uploaded features. It rejects any overlap between labels and features. This prevents a numeric class column from leaking the known answer into the clustering. - Standardised app analyses handle constant variables safely. PCA diagnostics omit zero-variance variables and name them in the interface. The analysis continues with the informative variables. - Scaled projection clustering omits constant variables from PCA and gives them zero loadings in the returned full-length direction. - Multivariate WCSS lower bounds now treat coordinates with fewer distinct values than clusters as zero-cost relaxed coordinates. Constant variables no longer interrupt otherwise valid fits. - Bundled datasets are loaded in an isolated environment, so objects with the same name in a user's workspace cannot mask package data. - Graph diagnostics are stored in each result and shown by its print method. - Base and ggplot2 plotting methods use the same result objects. - Optional packages are used conditionally, so the core package remains light.