R Under development (unstable) (2025-10-22 r88967 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # Clean environment and load libraries > rm(list = ls()) # Clear environment to avoid conflicts > > # Source files > library(MixStable) Attaching package: 'MixStable' The following object is masked from 'package:graphics': clip > > # Generate synthetic data > data <- rstable(1000, alpha = 1.5, beta = 0.5, 1.2, 2.0) > > # Run Gibbs sampling > n_samples <- if (identical(Sys.getenv("NOT_CRAN"), "true")) 100 else 20 > gibbs_result <- mock_gibbs_sampling(data, n_samples = n_samples, verbose = FALSE) There were 20 warnings (use warnings() to see them) > > # Display best parameters > print(gibbs_result$best_params) [1] 0.42314517 1.28048014 0.09008175 1.85899692 3.27725009 1.42892314 [7] -0.11760919 1.95809916 1.42583287 > > proc.time() user system elapsed 56.57 0.98 57.54