- using R Under development (unstable) (2026-06-06 r90114)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.1.0-1) 16.1.0
GNU Fortran (Debian 16.1.0-1) 16.1.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-06-07 10:47:12 UTC
- checking for file ‘DataSimilarity/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘DataSimilarity’ version ‘0.4.0’
- checking CRAN incoming feasibility ... [2s/3s] OK
- checking package namespace information ... OK
- checking package dependencies ... INFO
Packages suggested but not available for checking:
'caret', 'crossmatch', 'Ecume', 'GraphRankTest', 'LPKsample',
'nbpMatching', 'synthpop'
- 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 ‘DataSimilarity’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] 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 ... [9s/12s] OK
- checking Rd files ... [2s/2s] 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 ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [20s/25s] ERROR
Running examples in ‘DataSimilarity-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: YMRZL
> ### Title: Yu et al. (2007) Two-Sample Test
> ### Aliases: YMRZL
> ### Keywords: htest numeric categorical binary classification
>
> ### ** Examples
>
> set.seed(1234)
> # Draw some data
> X1 <- matrix(rnorm(1000), ncol = 10)
> X2 <- matrix(rnorm(1000, mean = 0.5), ncol = 10)
> # Perform the Yu et al. test
> YMRZL(X1, X2)
Loading required namespace: Ecume
Failed with error: ‘there is no package called ‘Ecume’’
Error in YMRZL(X1, X2) :
Package "Ecume" required for using method YMRZL().
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
Jeffreys 4.668 0.012 5.157
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [94s/109s] ERROR
Running ‘testthat.R’ [94s/109s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(DataSimilarity)
>
> test_check("DataSimilarity")
Saving _problems/test-MMCM-19.R
Using automatic sigma estimation (sigest) for RBF or laplace kernel
Using automatic sigma estimation (sigest) for RBF or laplace kernel
Saving _problems/test-Petrie-17.R
[ FAIL 2 | WARN 0 | SKIP 13 | PASS 832 ]
══ Skipped tests (13) ══════════════════════════════════════════════════════════
• empty test (13): , , , , , , , , , , , ,
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-MMCM.R:19:5'): (code run outside of `test_that()`) ─────────────
Error in `nbmatch(data.list, n.vec, dist.fun, dist.args, shuffle)`: Package "nbpMatching" required for using method nbmatch().
Backtrace:
▆
1. └─DataSimilarity (local) testMMCM(1) at test-MMCM.R:76:1
2. └─DataSimilarity::MMCM(X1, X2, as.data.frame(X3), X4, X5, X6, seed = i) at test-MMCM.R:19:5
3. └─DataSimilarity:::nbmatch(...)
── Error ('test-Petrie.R:17:5'): (code run outside of `test_that()`) ───────────
Error in `nbmatch(data.list, n.vec, dist.fun, dist.args, shuffle)`: Package "nbpMatching" required for using method nbmatch().
Backtrace:
▆
1. └─DataSimilarity (local) testPetrie(1) at test-Petrie.R:72:1
2. └─DataSimilarity::Petrie(X1, as.data.frame(X2), X3, X4, X5, X6) at test-Petrie.R:17:5
3. └─DataSimilarity:::nbmatch(...)
[ FAIL 2 | WARN 0 | SKIP 13 | PASS 832 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [1s/1s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘Details.Rnw’ using Sweave
Error: processing vignette 'Details.Rnw' failed with diagnostics:
chunk 2 (label = methods)
Error in loadNamespace(x) : there is no package called 'caret'
--- failed re-building 'Details.Rnw'
Note: skipping ‘GettingStarted.Rnw’ due to unavailable dependencies:
'synthpop'
SUMMARY: processing the following file failed:
‘Details.Rnw’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [7s/9s] OK
- checking HTML version of manual ... [7s/10s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 3 ERRORs