* using log directory 'd:/Rcompile/CRANpkg/local/4.6/TDApplied.Rcheck' * using R Under development (unstable) (2025-06-17 r88325 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'TDApplied/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'TDApplied' version '3.0.4' * package encoding: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'TDApplied' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 14.2.0' * checking installed package size ... INFO installed size is 9.7Mb sub-directories of 1Mb or more: doc 8.2Mb libs 1.1Mb * checking package directory ... OK * checking 'build' 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking use of S3 registration ... 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 ... [8s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 line endings in C/C++/Fortran sources/headers ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [70s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [40s] ERROR Running 'testthat.R' [40s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(TDApplied) > > test_check("TDApplied") [ FAIL 7 | WARN 0 | SKIP 5 | PASS 154 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • T is TRUE (5): 'test-python.R:7:3', 'test-python.R:19:3', 'test-python.R:43:3', 'test-python.R:78:3', 'test-python.R:90:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-kernel.R:105:3'): gram_matrix is computing correctly ─────────── Error in `serverSocket(port = port)`: creation of server socket failed: port 11871 cannot be opened Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-kernel.R:105:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─TDApplied::gram_matrix(...) 5. └─TDApplied::distance_matrix(...) 6. └─parallel::makeCluster(num_workers) 7. └─parallel::makePSOCKcluster(names = spec, ...) 8. └─base::serverSocket(port = port) ── Error ('test-kmeans.R:5:3'): diagram_kkmeans detects incorrect parameters correctly ── Error in `serverSocket(port = port)`: creation of server socket failed: port 11871 cannot be opened Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-kmeans.R:5:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─TDApplied::diagram_kkmeans(...) 8. └─TDApplied::gram_matrix(...) 9. └─TDApplied::distance_matrix(...) 10. └─parallel::makeCluster(num_workers) 11. └─parallel::makePSOCKcluster(names = spec, ...) 12. └─base::serverSocket(port = port) ── Error ('test-kmeans.R:48:3'): diagram_kkmeans is computing correctly ──────── Error in `serverSocket(port = port)`: creation of server socket failed: port 11871 cannot be opened Backtrace: ▆ 1. └─TDApplied::diagram_kkmeans(...) at test-kmeans.R:48:3 2. └─TDApplied::gram_matrix(...) 3. └─TDApplied::distance_matrix(...) 4. └─parallel::makeCluster(num_workers) 5. └─parallel::makePSOCKcluster(names = spec, ...) 6. └─base::serverSocket(port = port) ── Error ('test-kmeans.R:121:3'): diagram_kkmeans can accept a precomputed Gram matrix ── Error in `serverSocket(port = port)`: creation of server socket failed: port 11871 cannot be opened Backtrace: ▆ 1. └─TDApplied::gram_matrix(...) at test-kmeans.R:121:3 2. └─TDApplied::distance_matrix(...) 3. └─parallel::makeCluster(num_workers) 4. └─parallel::makePSOCKcluster(names = spec, ...) 5. └─base::serverSocket(port = port) ── Error ('test-kmeans.R:166:3'): predict_diagram_kkmeans detects incorrect parameters correctly ── Error in `serverSocket(port = port)`: creation of server socket failed: port 11871 cannot be opened Backtrace: ▆ 1. └─TDApplied::diagram_kkmeans(...) at test-kmeans.R:166:3 2. └─TDApplied::gram_matrix(...) 3. └─TDApplied::distance_matrix(...) 4. └─parallel::makeCluster(num_workers) 5. └─parallel::makePSOCKcluster(names = spec, ...) 6. └─base::serverSocket(port = port) ── Error ('test-kmeans.R:208:3'): predict_diagram_kkmeans is computing correctly ── Error in `serverSocket(port = port)`: creation of server socket failed: port 11871 cannot be opened Backtrace: ▆ 1. └─TDApplied::diagram_kkmeans(...) at test-kmeans.R:208:3 2. └─TDApplied::gram_matrix(...) 3. └─TDApplied::distance_matrix(...) 4. └─parallel::makeCluster(num_workers) 5. └─parallel::makePSOCKcluster(names = spec, ...) 6. └─base::serverSocket(port = port) ── Error ('test-pca.R:24:3'): diagram_kpca is computing correctly ────────────── Error in `serverSocket(port = port)`: creation of server socket failed: port 11871 cannot be opened Backtrace: ▆ 1. └─TDApplied::diagram_kpca(...) at test-pca.R:24:3 2. └─TDApplied::gram_matrix(...) 3. └─TDApplied::distance_matrix(...) 4. └─parallel::makeCluster(num_workers) 5. └─parallel::makePSOCKcluster(names = spec, ...) 6. └─base::serverSocket(port = port) [ FAIL 7 | WARN 0 | SKIP 5 | PASS 154 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [162s] OK * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... [6s] OK * DONE Status: 1 ERROR