- using R version 4.4.3 (2025-02-28 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.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
See the install log for details.
- used C++ compiler: 'g++.exe (GCC) 13.3.0'
- checking installed package size ... NOTE
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 ... [2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [2s] 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 ... [12s] 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 ... [99s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [76s] ERROR
Running 'testthat.R' [76s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(TDApplied)
>
> test_check("TDApplied")
[ FAIL 2 | WARN 0 | SKIP 5 | PASS 175 ]
══ 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-kmeans.R:90:3'): diagram_kkmeans is computing correctly ────────
Error in `serverSocket(port = port)`: creation of server socket failed: port 11511 cannot be opened
Backtrace:
▆
1. └─TDApplied::diagram_kkmeans(...) at test-kmeans.R:90: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 11511 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)
[ FAIL 2 | WARN 0 | SKIP 5 | PASS 175 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [202s] OK
- checking PDF version of manual ... [19s] OK
- checking HTML version of manual ... [6s] OK
- DONE
Status: 1 ERROR, 1 NOTE