* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/fdWasserstein.Rcheck’ * using R Under development (unstable) (2025-11-17 r89032) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘fdWasserstein/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘fdWasserstein’ version ‘1.0’ * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘fdWasserstein’ can be installed ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... OK * checking examples with --run-donttest ... [30m/31m] ERROR Running examples in ‘fdWasserstein-Ex.R’ failed The error most likely occurred in: > ### Name: wassersteinCluster > ### Title: Soft clustering of covariance operators. > ### Aliases: wassersteinCluster trimmedAverageSilhouette > ### Keywords: multivariate cluster > > ### ** Examples > > ## No test: > # Example phoneme.R (simplified) from https://doi.org/10.1111/sjos.12692. > data(phoneme) > # resampling the log-periodograms > # 15 sample covariances for each phoneme > set.seed(12345) > nsubsamples <- 15 > n <- 40 > gg <- unique(Phoneme) > nphonemes <- length(gg) > N <- n*nsubsamples*nphonemes > M <- NCOL(logPeriodogram) > X <- matrix(NA, N, M) > gr <- integer(N) > r <- 1 > first <- 1 > last <- n > for (l in gg) { + for (i in 1:nsubsamples) { + X[first:last, ] <- logPeriodogram[sample(which(Phoneme==l),n), ] + gr[first:last] <- r + r <- r+1 + first <- first+n + last <- last+n + } + } > # soft clustering > a <- wassersteinCluster(X, gr) Initialization k: 2 Round: 1 Best criterion: 2297237 Best subset: 7 73 Round: 2 Best criterion: 2297237 Best subset: 7 73 Round: 3 Best criterion: 2297237 Best subset: 7 73 Round: 4 Best criterion: 2297237 Best subset: 7 73 Round: 5 Best criterion: 2297237 Best subset: 7 73 Optimization k: 2 Iteration: 1 Criterion: 1424645 Iteration: 2 Criterion: 1384900 Iteration: 3 Criterion: 1374980 Iteration: 4 Criterion: 1370872 Iteration: 5 Criterion: 1368711 Iteration: 6 Criterion: 1367284 Iteration: 7 Criterion: 1366126 Initialization k: 3 Round: 1 Best criterion: 2191589 Best subset: 7 45 58 Round: 2 Best criterion: 2191589 Best subset: 7 45 58 Round: 3 Best criterion: 2191589 Best subset: 7 45 58 Round: 4 Best criterion: 2191381 Best subset: 7 45 73 Round: 5 Best criterion: 2191381 Best subset: 7 45 73 Optimization k: 3 Iteration: 1 Criterion: 1347193 Iteration: 2 Criterion: 1308049 Iteration: 3 Criterion: 1298663 Iteration: 4 Criterion: 1294733 Iteration: 5 Criterion: 1292527 Iteration: 6 Criterion: 1291042 Iteration: 7 Criterion: 1289851 Initialization k: 4 Round: 1 Best criterion: 2119417 Best subset: 13 45 58 68 Round: 2 Best criterion: 2108748 Best subset: 13 45 58 73 Round: 3 Best criterion: 2108748 Best subset: 13 45 58 73 Round: 4 Best criterion: 2108748 Best subset: 13 45 58 73 Round: 5 Best criterion: 2108748 Best subset: 13 45 58 73 Optimization k: 4 Iteration: 1 Criterion: 1277114 Iteration: 2 Criterion: 1241113 Iteration: 3 Criterion: 1232123 Iteration: 4 Criterion: 1228225 Iteration: 5 Criterion: 1225982 Iteration: 6 Criterion: 1224452 Iteration: 7 Criterion: 1223245 Initialization k: 5 Round: 1 Best criterion: 2044599 Best subset: 13 29 44 60 73 Round: 2 Best criterion: 2044114 Best subset: 13 29 45 60 73 Round: 3 Best criterion: 2044114 Best subset: 13 29 45 60 73 Round: 4 Best criterion: 2044114 Best subset: 13 29 45 60 73 Round: 5 Best criterion: 2044114 Best subset: 13 29 45 60 73 Optimization k: 5 Iteration: 1 Criterion: 1220209 Iteration: 2 Criterion: 1188273 Iteration: 3 Criterion: 1179596 Iteration: 4 Criterion: 1175789 Iteration: 5 Criterion: 1173769 Iteration: 6 Criterion: 1172538 Iteration: 7 Criterion: 1171696 Initialization k: 6 Round: 1 Best criterion: 2001893 Best subset: 13 29 45 60 62 73 Round: 2 Best criterion: 2001893 Best subset: 13 29 45 60 62 73 Round: 3 Best criterion: 2001893 Best subset: 13 29 45 60 62 73 Round: 4 Best criterion: 2001893 Best subset: 13 29 45 60 62 73 Round: 5 Best criterion: 2001893 Best subset: 13 29 45 60 62 73 Optimization k: 6 Iteration: 1 Criterion: 1195258 * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR See ‘/data/blackswan/ripley/R/packages/tests-devel/fdWasserstein.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 31:28.28, 1814.92 + 32.39