Last updated on 2025-09-29 16:50:17 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
sgdGMF | 1 | 2 | 10 |
Current CRAN status: ERROR: 1, NOTE: 2, OK: 10
Version: 1.0.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/6s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(sgdGMF)
Loading required package: ggplot2
Attaching package: 'sgdGMF'
The following object is masked from 'package:stats':
simulate
>
> test_check("sgdGMF")
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 159 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-utils.R:21:3'): Whitening matrix ─────────────────────────────
crossprod(W.zca) (`actual`) not equal to solve(S) (`expected`).
actual vs expected
[,1] [,2] [,3] [,4] [,5]
actual[1, ] 8403738 -2286793.1 -14309575 -7237765 -8854507
actual[2, ] -2286793 622274.7 3893868 1969514 2409454
- actual[3, ] -14309575 3893868.4 24365819 12324201 15077128
+ expected[3, ] -14309575 3893868.4 24365819 12324200 15077127
- actual[4, ] -7237765 1969513.6 12324201 6233565 7625992
+ expected[4, ] -7237765 1969513.5 12324200 6233565 7625992
- actual[5, ] -8854507 2409454.4 15077128 7625992 9329456
+ expected[5, ] -8854507 2409454.3 15077127 7625992 9329455
── Failure ('test-utils.R:22:3'): Whitening matrix ─────────────────────────────
crossprod(W.pca) (`actual`) not equal to solve(S) (`expected`).
actual vs expected
[,1] [,2] [,3] [,4] [,5]
actual[1, ] 8403738 -2286793.1 -14309575 -7237765 -8854507
actual[2, ] -2286793 622274.7 3893868 1969514 2409454
- actual[3, ] -14309575 3893868.4 24365819 12324201 15077128
+ expected[3, ] -14309575 3893868.4 24365819 12324200 15077127
- actual[4, ] -7237765 1969513.6 12324201 6233565 7625992
+ expected[4, ] -7237765 1969513.5 12324200 6233565 7625992
- actual[5, ] -8854507 2409454.4 15077128 7625992 9329456
+ expected[5, ] -8854507 2409454.3 15077127 7625992 9329455
── Failure ('test-utils.R:23:3'): Whitening matrix ─────────────────────────────
crossprod(W.zca.cor) (`actual`) not equal to solve(S) (`expected`).
actual vs expected
[,1] [,2] [,3] [,4] [,5]
- actual[1, ] 8403733 -2286791.7 -14309566 -7237761 -8854501
+ expected[1, ] 8403738 -2286793.1 -14309575 -7237765 -8854507
- actual[2, ] -2286792 622274.3 3893866 1969512 2409453
+ expected[2, ] -2286793 622274.7 3893868 1969514 2409454
- actual[3, ] -14309566 3893866.0 24365804 12324193 15077118
+ expected[3, ] -14309575 3893868.4 24365819 12324200 15077127
- actual[4, ] -7237761 1969512.3 12324193 6233561 7625987
+ expected[4, ] -7237765 1969513.5 12324200 6233565 7625992
- actual[5, ] -8854501 2409452.9 15077118 7625987 9329450
+ expected[5, ] -8854507 2409454.3 15077127 7625992 9329455
── Failure ('test-utils.R:24:3'): Whitening matrix ─────────────────────────────
crossprod(W.pca.cor) (`actual`) not equal to solve(S) (`expected`).
actual vs expected
[,1] [,2] [,3] [,4] [,5]
- actual[1, ] 8403733 -2286791.7 -14309566 -7237761 -8854501
+ expected[1, ] 8403738 -2286793.1 -14309575 -7237765 -8854507
- actual[2, ] -2286792 622274.3 3893866 1969512 2409453
+ expected[2, ] -2286793 622274.7 3893868 1969514 2409454
- actual[3, ] -14309566 3893866.0 24365804 12324193 15077118
+ expected[3, ] -14309575 3893868.4 24365819 12324200 15077127
- actual[4, ] -7237761 1969512.3 12324193 6233561 7625987
+ expected[4, ] -7237765 1969513.5 12324200 6233565 7625992
- actual[5, ] -8854501 2409452.9 15077118 7625987 9329450
+ expected[5, ] -8854507 2409454.3 15077127 7625992 9329455
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 159 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.1
Check: installed package size
Result: NOTE
installed size is 11.2Mb
sub-directories of 1Mb or more:
libs 10.5Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64