- using R version 4.4.3 (2025-02-28)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.7.8
- using session charset: UTF-8
- checking for file ‘TFORGE/DESCRIPTION’ ... OK
- this is package ‘TFORGE’ version ‘0.1.14’
- 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 ‘TFORGE’ can be installed ... [1s/1s] OK
See the install log for details.
- checking installed package size ... 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 ... [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 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 ... [1s/1s] OK
- checking Rd files ... [0s/0s] 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 examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [7s/7s] ERROR
Running ‘testthat.R’ [7s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(TFORGE)
>
> # from part of testthat:::on_cran (ignoring the interactive part)
> # do a fast check unless NOT_CRAN is explicitly true
> # see tests/testthat/helper-skips.R
> if (!isTRUE(as.logical(Sys.getenv("NOT_CRAN", "false")))){
+ Sys.setenv("FAST_CHECK" = "true")
+ }
>
> test_check("TFORGE")
Saving _problems/test-multiplicity-242.R
[ FAIL 1 | WARN 0 | SKIP 33 | PASS 198 ]
══ Skipped tests (33) ══════════════════════════════════════════════════════════
• On CRAN (10): 'test-ss1.R:57:3', 'test-ss1fixedtrace.R:46:3',
'test-ss1fixedtrace.R:79:3', 'test-ss1fixedtrace.R:96:3',
'test-ss1fixedtrace_CI.R:2:3', 'test-unconstrained.R:15:3',
'test-unconstrained.R:29:3', 'test-unconstrained_aGOE.R:127:3',
'test-unconstrained_aGOE.R:175:3', 'test-unconstrained_aGOE.R:433:3'
• Slow test skipped. (22): 'test-fixedtrace.R:71:3', 'test-fixedtrace.R:101:3',
'test-fixedtrace.R:119:3', 'test-fixedtrace_CI.R:21:3',
'test-multiplicity.R:53:3', 'test-multiplicity.R:91:3',
'test-multiplicity.R:121:3', 'test-multiplicity.R:150:3',
'test-multiplicity.R:248:3', 'test-multiplicity_nonnegative.R:2:3',
'test-multiplicity_nonnegative.R:28:3',
'test-multiplicity_nonnegative.R:55:3',
'test-multiplicity_nonnegative.R:79:3', 'test-rsymm_t.R:2:3',
'test-ss1fixedtrace.R:2:3', 'test-unconstrained.R:43:3',
'test-unconstrained_aGOE.R:28:3', 'test-unconstrained_aGOE.R:60:3',
'test-unconstrained_aGOE.R:213:3', 'test-unconstrained_aGOE.R:259:3',
'test-unconstrained_aGOE.R:312:3', 'test-unconstrained_aGOE.R:472:3'
• slow (1): 'test-mmean.R:15:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-multiplicity.R:242:3'): xicovar() matches simulated sample covariance of xi with fixed eigenvectors ──
Expected `emcov_semi` to equal `thecov`.
Differences:
1/9 mismatches
[5] 0.132 - 0.164 == -0.0321
[ FAIL 1 | WARN 0 | SKIP 33 | PASS 198 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [2s/2s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '