- using R version 4.5.2 (2025-10-31)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-10) 14.3.0
GNU Fortran (Debian 14.3.0-10) 14.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘scorematchingad/DESCRIPTION’ ... OK
- this is package ‘scorematchingad’ version ‘0.1.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 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 ‘scorematchingad’ can be installed ... OK
See the install log for details.
- used C++ compiler: ‘g++-14 (Debian 14.3.0-10) 14.3.0’
- checking package directory ... OK
- checking for future file timestamps ... 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/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking whether startup messages can be suppressed ... [1s/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 ... [22s/30s] OK
- checking Rd files ... [2s/3s] 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/1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in shell scripts ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking examples ... [7s/9s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [181s/221s] ERROR
Running ‘testthat.R’ [181s/221s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
>
> test_check("scorematchingad")
Loading required package: scorematchingad
The Jacobian of the Hessian was non-zero for row 1 of xmat and dynmat
Saving _problems/test-vMF-102.R
Saving _problems/test-vMF-102.R
[ FAIL 2 | WARN 0 | SKIP 18 | PASS 427 ]
══ Skipped tests (18) ══════════════════════════════════════════════════════════
• Fixing many of the elements doesn't improve smdbjgrad (1): 'test-FB.R:117:3'
• Hardcoded and closed methods both fail on this. But not on the microbiome
data (1): 'test-cppad_closed.R:60:3'
• On CRAN (15): 'test-Bingham.R:76:3', 'test-Bingham.R:97:3', 'test-FB.R:48:3',
'test-FB.R:139:3', 'test-Windham-Microdata.R:1:1', 'test-Windham.R:2:3',
'test-closed-dirichlet.R:1:1', 'test-closed-ppi-Ralr.R:2:3',
'test-closed-ppi-sphere-simplex.R:171:3', 'test-gengamma_alr.R:25:3',
'test-ppi-difficultAL.R:1:1', 'test-ppi-microdata.R:9:1',
'test-ppi-microdata.R:64:1', 'test-ppi_mmmm.R:1:1', 'test-rppi.R:10:3'
• Only for research. (1): 'test-FB.R:97:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-vMF.R:102:3'): vMF matches for simulated weights, ignoring SE, which shouldn't match ──
Expected `dir3_m` to equal `vMF_m(Y)`.
Differences:
`actual`: -0.579 0.722 -0.380
`expected`: -0.384 0.824 -0.417
Backtrace:
▆
1. ├─testthat::expect_error(expect_equal(dir3_m, vMF_m(Y)), "not equal to") at test-vMF.R:102: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. └─testthat::expect_equal(dir3_m, vMF_m(Y))
── Failure ('test-vMF.R:102:3'): vMF matches for simulated weights, ignoring SE, which shouldn't match ──
Expected `expect_equal(dir3_m, vMF_m(Y))` to throw a error.
[ FAIL 2 | WARN 0 | SKIP 18 | PASS 427 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [9s/12s] OK
- checking HTML version of manual ... [4s/6s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR