Last updated on 2026-11-07 18:51:53 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 4.0 | 5.44 | 89.87 | 95.31 | OK | |
| r-devel-linux-x86_64-debian-gcc | 4.0 | 3.90 | 61.12 | 65.02 | OK | |
| r-devel-linux-x86_64-fedora-clang | 5.0 | 72.89 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 5.0 | 4.00 | 73.35 | 77.35 | OK | |
| r-devel-windows-x86_64 | 4.0 | 6.00 | 101.00 | 107.00 | OK | |
| r-patched-linux-x86_64 | 4.0 | OK | ||||
| r-release-linux-x86_64 | 4.0 | 5.50 | 83.60 | 89.10 | OK | |
| r-release-macos-arm64 | 5.0 | 2.00 | 40.00 | 42.00 | ERROR | |
| r-release-macos-x86_64 | 5.0 | 4.00 | 268.00 | 272.00 | OK | |
| r-release-windows-x86_64 | 4.0 | 7.00 | 183.00 | 190.00 | OK | |
| r-oldrel-macos-arm64 | 5.0 | ERROR | ||||
| r-oldrel-macos-x86_64 | 5.0 | 5.00 | 233.00 | 238.00 | OK | |
| r-oldrel-windows-x86_64 | 4.0 | 7.00 | 125.00 | 132.00 | OK |
Version: 5.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(msma)
> test_check("msma")
Saving _problems/test-v5-prediction-baseline-17.R
Saving _problems/test-v5-prediction-baseline-34.R
Saving _problems/test-v5-prediction-baseline-57.R
Saving _problems/test-v5-prediction-baseline-91.R
Saving _problems/test-v5-prediction-baseline-113.R
Saving _problems/test-v5-prediction-baseline-114.R
Saving _problems/test-v5-prediction-baseline-132.R
Saving _problems/test-v5-prediction-baseline-133.R
Saving _problems/test-v5-prediction-baseline-151.R
Saving _problems/test-v5-prediction-baseline-169.R
Saving _problems/test-v5-prediction-baseline-189.R
Saving _problems/test-v5-prediction-fitted-16.R
Saving _problems/test-v5-prediction-fitted-20.R
[ FAIL 13 | WARN 0 | SKIP 3 | PASS 989 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• Source-tree documentation files are not available. (3):
'test-v5-prediction-documentation.R:37:5',
'test-v5-prediction-documentation.R:82:5',
'test-v5-prediction-documentation.R:160:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-v5-prediction-baseline.R:17:3'): legacy PCA prediction with scaling TRUE matches baseline ──
Expected `observed` to be identical to `expected`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] 0.452876183536078225 - 0.452876183536077837 [1]
[2] -0.079225667276012976 - -0.079225667276013267 [2]
[3] -0.789884115690939637 - -0.789884115690939526 [3]
[4] 0.442155505782371505 - 0.442155505782371006 [4]
[5] -0.115007809220551552 - -0.115007809220551316 [5]
[6] 0.661078552168546940 - 0.661078552168547051 [6]
[7] -0.502318791389847807 - -0.502318791389847030 [7]
[8] -0.190689619388338644 - -0.190689619388338866 [8]
[9] -0.458052745239417247 - -0.458052745239416692 [9]
[10] 0.481785007943845656 | 0.481785007943845656 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] -1.18325976537039779 - -1.18325976537039734 [1]
[2] 0.28239815369849397 | 0.28239815369849397 [2]
[3] 2.11512769491940000 | 2.11512769491940000 [3]
[4] -1.09529897858729663 | -1.09529897858729663 [4]
[5] 0.28046078205544794 - 0.28046078205544778 [5]
[6] -1.87853039058592364 - -1.87853039058592319 [6]
[7] 1.21743150441035719 - 1.21743150441035697 [7]
[8] 0.56608881968930924 - 0.56608881968930935 [8]
[9] 1.16058533493207072 - 1.16058533493207028 [9]
[10] -1.31920442448685149 | -1.31920442448685149 [10]
... ... ... and 10 more ...
── Failure ('test-v5-prediction-baseline.R:34:3'): legacy PCA prediction with scaling FALSE matches baseline ──
Expected `observed` to be identical to `expected`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] -0.130399884531725380 - -0.130399884531725629 [1]
[2] -0.162578308356472384 - -0.162578308356472218 [2]
[3] -0.895494599351058018 - -0.895494599351058129 [3]
[4] 0.324260603446073548 - 0.324260603446073270 [4]
[5] 0.371899380690175363 - 0.371899380690175474 [5]
[6] 0.069972375597097666 - 0.069972375597097874 [6]
[7] -0.281724115657135399 - -0.281724115657135454 [7]
[8] -1.465732087681434148 - -1.465732087681434592 [8]
[9] -0.005570285708658856 - -0.005570285708658917 [9]
[10] -0.995315060268985863 - -0.995315060268985752 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] -0.378709057563207940 - -0.378709057563207441 [1]
[2] -0.242961100002731856 - -0.242961100002732161 [2]
[3] 1.640784472210377487 - 1.640784472210377931 [3]
[4] -1.192075063031929449 - -1.192075063031929005 [4]
[5] -0.455474737519725781 - -0.455474737519725670 [5]
[6] 0.626015205420247578 - 0.626015205420247800 [6]
[7] 0.219575583256993279 - 0.219575583256993251 [7]
[8] -0.801378179166684190 - -0.801378179166683857 [8]
[9] -0.528012250226710833 - -0.528012250226710611 [9]
[10] 1.783021968961968629 - 1.783021968961969295 [10]
... ... ... and 10 more ...
── Failure ('test-v5-prediction-baseline.R:57:3'): legacy PLS X and Y prediction matches baseline ──
Expected `observed` to be identical to `expected`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] -0.523094306526272868 - -0.523094306526273090 [1]
[2] -0.176422825399348698 - -0.176422825399348449 [2]
[3] -0.459723170360351152 - -0.459723170360350597 [3]
[4] -1.053508918204909550 - -1.053508918204908884 [4]
[5] -0.567187110109685810 - -0.567187110109685477 [5]
[6] 0.180976738516998720 - 0.180976738516999358 [6]
[7] -0.602980222901095542 - -0.602980222901094876 [7]
[8] -0.449003780772402217 - -0.449003780772401884 [8]
[9] 0.421202099221768711 - 0.421202099221769433 [9]
[10] 0.194288616598771502 - 0.194288616598771446 [10]
... ... ... and 38 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] 0.311818261469395230 - 0.311818261469395508 [1]
[2] 0.440586777179494071 - 0.440586777179493905 [2]
[3] -0.206728141049157904 - -0.206728141049157987 [3]
[4] 1.056684088763764962 - 1.056684088763764739 [4]
[5] -0.668210326243253716 - -0.668210326243253494 [5]
[6] -0.696245784114051136 - -0.696245784114051469 [6]
[7] 0.459908995907266360 - 0.459908995907265861 [7]
[8] 1.004504989394756631 - 1.004504989394756409 [8]
[9] 1.004356131603069802 - 1.004356131603070468 [9]
[10] -0.131624596433664476 - -0.131624596433665059 [10]
... ... ... and 6 more ...
actual$Y[[1]] | expected$Y[[1]]
[1] 1.202706738567212330 - 1.202706738567212774 [1]
[2] 1.107076683355466606 - 1.107076683355467273 [2]
[3] 0.853082883333361797 - 0.853082883333362241 [3]
[4] -0.864102628356017477 - -0.864102628356016700 [4]
[5] 1.073773392113208436 - 1.073773392113208658 [5]
[6] 0.083172261170427766 - 0.083172261170427808 [6]
[7] 0.909439004705059229 - 0.909439004705058895 [7]
[8] 0.642609122942905842 - 0.642609122942906064 [8]
[9] -0.372637401187600747 - -0.372637401187601136 [9]
[10] -0.355134329716218944 - -0.355134329716219332 [10]
... ... ... and 22 more ...
actual$sbY[[1]] | expected$sbY[[1]]
[1] -0.67440281496621413 - -0.67440281496621490 [1]
[2] -0.47660739409271630 - -0.47660739409271669 [2]
[3] 0.17019238494876179 - 0.17019238494876143 [3]
[4] 0.88201824052136468 | 0.88201824052136468 [4]
[5] 0.37789182440954622 - 0.37789182440954583 [5]
[6] -0.69097149641876920 | -0.69097149641876920 [6]
[7] -0.81991968858760922 - -0.81991968858760944 [7]
[8] 0.25222626095032097 - 0.25222626095032064 [8]
[9] -1.15619478045684487 - -1.15619478045684532 [9]
[10] -1.20785786543765750 - -1.20785786543765816 [10]
... ... ... and 6 more ...
── Failure ('test-v5-prediction-baseline.R:91:3'): single-row legacy prediction matches baseline and stays finite ──
Expected `observed` to be identical to `expected`.
Differences:
actual$X[[1]] vs expected$X[[1]]
[,1] [,2] [,3] [,4] [,5] [,6]
- actual$X[[1]][1, ] 1.064860 -1.064860 1.064860 -1.064860 -1.064860 -1.064860
+ expected$X[[1]][1, ] 1.094187 -1.094187 1.094187 -1.094187 -1.094187 -1.094187
`actual$sbX[[1]]`: -1.30906862902939469 1.17240779583392229
`expected$sbX[[1]]`: -1.30906862902939536 1.17240779583392118
── Failure ('test-v5-prediction-baseline.R:113:3'): legacy prediction remains batch dependent ──
Expected `observed_a` to be identical to `expected$batch_a`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] -0.901039161712105963 | -0.901039161712105963 [1]
[2] 0.363159018359112962 - 0.363159018359112407 [2]
[3] 0.268762591518390659 - 0.268762591518391103 [3]
[4] 0.823248914948660260 - 0.823248914948660038 [4]
[5] -0.759860079634851027 - -0.759860079634851249 [5]
[6] -1.024040236266799297 | -1.024040236266799297 [6]
[7] -1.051871031212670893 - -1.051871031212670671 [7]
[8] 0.186128422263028032 - 0.186128422263028143 [8]
[9] 0.465518019654671433 - 0.465518019654671156 [9]
[10] 0.006543747384958430 - 0.006543747384958404 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] 0.7135501391206332533 - 0.7135501391206330313 [1]
[2] -1.2402226437387313673 - -1.2402226437387311453 [2]
[3] 0.0582946026178390378 - 0.0582946026178390309 [3]
[4] -1.3138303242813988980 | -1.3138303242813988980 [4]
[5] 0.4169093302416950753 - 0.4169093302416952418 [5]
[6] 0.8789365071889502223 | 0.8789365071889502223 [6]
[7] 1.5732088936496089193 - 1.5732088936496086973 [7]
[8] 0.0828483747313282087 - 0.0828483747313283891 [8]
[9] -1.2154084460756604535 | -1.2154084460756604535 [9]
[10] 0.0036516133633806326 - 0.0036516133633806291 [10]
... ... ... and 10 more ...
── Failure ('test-v5-prediction-baseline.R:114:3'): legacy prediction remains batch dependent ──
Expected `observed_b` to be identical to `expected$batch_b`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] -0.083498732865707942 | -0.083498732865707942 [1]
[2] 0.716464026084385419 | 0.716464026084385419 [2]
[3] 0.738307188802398540 - 0.738307188802398318 [3]
[4] 1.241686979021916937 | 1.241686979021916937 [4]
[5] 1.155774660778903229 | 1.155774660778903229 [5]
[6] 0.543845460836490768 - 0.543845460836490990 [6]
[7] 0.730996087617242440 - 0.730996087617242551 [7]
[8] 0.938935531976692883 - 0.938935531976693216 [8]
[9] 1.202801149627625410 | 1.202801149627625410 [9]
[10] 0.752562704008995165 - 0.752562704008995387 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] 0.023667518245943958 - 0.023667518245943948 [1]
[2] 0.245630816471611252 - 0.245630816471611391 [2]
[3] -0.027081877813630452 - -0.027081877813630306 [3]
[4] 0.705532649728989103 - 0.705532649728989325 [4]
[5] 0.073753920820737770 - 0.073753920820738006 [5]
[6] 0.722725935264841524 - 0.722725935264841746 [6]
[7] 0.136543599320059356 - 0.136543599320059494 [7]
[8] 0.563214089054699940 - 0.563214089054700162 [8]
[9] 0.571064330127937891 | 0.571064330127937891 [9]
[10] 0.599007004240829755 - 0.599007004240829977 [10]
... ... ... and 10 more ...
── Failure ('test-v5-prediction-baseline.R:132:3'): legacy prediction accepts reordered columns and changes results ──
Expected `original_result` to be identical to `expected$order_original`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] 0.377851207310069992 - 0.377851207310070158 [1]
[2] -1.661923846338249522 - -1.661923846338250188 [2]
[3] -0.435415163085950740 - -0.435415163085950907 [3]
[4] 1.336839952056728453 - 1.336839952056729119 [4]
[5] -0.260404856721396016 - -0.260404856721396238 [5]
[6] 0.224063012501865361 - 0.224063012501865610 [6]
[7] 0.686007394996469455 - 0.686007394996469566 [7]
[8] -0.821575951066536025 - -0.821575951066536136 [8]
[9] -0.647018777696336311 - -0.647018777696336422 [9]
[10] 0.042101486598538317 - 0.042101486598538518 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] -0.352512519580513939 - -0.352512519580514050 [1]
[2] 2.787958038405929262 - 2.787958038405929706 [2]
[3] 1.331639200146652380 - 1.331639200146652602 [3]
[4] -0.955847147775744199 - -0.955847147775744643 [4]
[5] 0.490277961321383626 - 0.490277961321384181 [5]
[6] 0.420438366175257983 - 0.420438366175257705 [6]
[7] -1.202798926228347165 - -1.202798926228347387 [7]
[8] 0.988815186193189199 - 0.988815186193189088 [8]
[9] 1.179192070653735991 - 1.179192070653736213 [9]
[10] -0.735179382065165976 - -0.735179382065166087 [10]
... ... ... and 10 more ...
── Failure ('test-v5-prediction-baseline.R:133:3'): legacy prediction accepts reordered columns and changes results ──
Expected `reordered_result` to be identical to `expected$order_reordered`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] -0.232012710474203576 - -0.232012710474203826 [1]
[2] -0.007103787754712617 - -0.007103787754712321 [2]
[3] -0.245962848808633561 - -0.245962848808633450 [3]
[4] -0.101587252040220191 - -0.101587252040220288 [4]
[5] 0.243208298252603539 - 0.243208298252603428 [5]
[6] -0.933953470350015080 - -0.933953470350015302 [6]
[7] 0.894022860229077398 - 0.894022860229077287 [7]
[8] -0.399311348539899635 - -0.399311348539899746 [8]
[9] 0.023147546093287740 - 0.023147546093287841 [9]
[10] 0.091454283206375483 - 0.091454283206375289 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] 0.34411555550255279 - 0.34411555550255329 [1]
[2] 0.58758133676527480 - 0.58758133676527413 [2]
[3] 0.97007697330008946 - 0.97007697330008924 [3]
[4] 0.62829909888181523 - 0.62829909888181545 [4]
[5] -0.39399466551305629 - -0.39399466551305595 [5]
[6] 1.19550755040646450 - 1.19550755040646473 [6]
[7] -1.33932977719953805 | -1.33932977719953805 [7]
[8] 1.66990843240999265 - 1.66990843240999287 [8]
[9] 0.95366448243845658 - 0.95366448243845636 [9]
[10] 0.07676579330297389 - 0.07676579330297444 [10]
... ... ... and 10 more ...
── Failure ('test-v5-prediction-baseline.R:151:3'): legacy multiblock prediction loses block names ──
Expected `observed` to be identical to `expected`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] -0.504460305376386198 - -0.504460305376386753 [1]
[2] 0.348554591293173122 - 0.348554591293173011 [2]
[3] 0.894840171620574720 - 0.894840171620574609 [3]
[4] 0.382532856211924399 - 0.382532856211924455 [4]
[5] -0.826959684546364926 - -0.826959684546365370 [5]
[6] -0.494210418307085064 - -0.494210418307085397 [6]
[7] -1.005368884887175129 | -1.005368884887175129 [7]
[8] -0.981402790610048870 - -0.981402790610049425 [8]
[9] -0.347839293250236048 - -0.347839293250236214 [9]
[10] 1.582388204747432026 - 1.582388204747431582 [10]
... ... ... and 18 more ...
actual$X[[2]] | expected$X[[2]]
[1] -0.550103168888718685 - -0.550103168888718908 [1]
[2] -0.314326015389589153 - -0.314326015389588875 [2]
[3] 0.709372955010983963 - 0.709372955010983741 [3]
[4] 1.300390306839486643 - 1.300390306839486865 [4]
[5] -0.570350875740348817 - -0.570350875740348595 [5]
[6] 1.183214844282103106 | 1.183214844282103106 [6]
[7] -0.922890651821683061 - -0.922890651821682950 [7]
[8] 0.990092429059156398 - 0.990092429059156176 [8]
[9] -1.144738029161849191 - -1.144738029161849635 [9]
[10] 1.482056561371452030 - 1.482056561371452252 [10]
... ... ... and 11 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] -0.022934349077427679 - -0.022934349077427196 [1]
[2] -1.050163979928612878 - -1.050163979928612656 [2]
[3] -0.123987776839698902 - -0.123987776839699415 [3]
[4] 0.197727108153924802 - 0.197727108153924414 [4]
[5] 1.230425591137038088 - 1.230425591137038310 [5]
[6] 0.220937362474467686 - 0.220937362474467713 [6]
[7] 1.106195393721097320 - 1.106195393721097542 [7]
[8] -1.073363363736146603 - -1.073363363736147491 [8]
[9] -0.258342770455604998 - -0.258342770455605497 [9]
[10] 1.749522687451318781 - 1.749522687451318559 [10]
... ... ... and 4 more ...
actual$sbX[[2]] | expected$sbX[[2]]
[1] 1.656377943653825513 - 1.656377943653824847 [1]
[2] -0.924705161360953598 - -0.924705161360953154 [2]
[3] 0.882021548017765222 - 0.882021548017764223 [3]
[4] -1.014485669035668725 | -1.014485669035668725 [4]
[5] -0.102506829844887654 - -0.102506829844887626 [5]
[6] -0.578227015634502073 - -0.578227015634502406 [6]
[7] 1.114857631877766320 - 1.114857631877766986 [7]
[8] 0.266177487655613887 - 0.266177487655613998 [8]
[9] -1.005473149034882052 - -1.005473149034882274 [9]
[10] 1.523786271699871131 - 1.523786271699871353 [10]
... ... ... and 4 more ...
── Failure ('test-v5-prediction-baseline.R:169:3'): legacy prediction replaces transformed missing values with zero ──
Expected `observed` to be identical to `expected`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] 0.731309470561102182 - 0.731309470561101960 [1]
[2] -0.561031006205601313 - -0.561031006205601201 [2]
[3] 0.940514623049489074 - 0.940514623049489185 [3]
[4] -0.530864693040834279 - -0.530864693040834057 [4]
[5] 0.195890450431500579 - 0.195890450431500662 [5]
[6] -0.201288468671398407 - -0.201288468671397852 [6]
[7] 0.970316774000796300 - 0.970316774000795967 [7]
[8] -1.146424868698448840 - -1.146424868698448396 [8]
[9] -0.165647173826357630 - -0.165647173826357852 [9]
[10] 1.519231174140384999 - 1.519231174140384777 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] 0.384518446517846668 - 0.384518446517846946 [1]
[2] -0.900865240818702451 - -0.900865240818702895 [2]
[3] -0.152726229247289458 - -0.152726229247289097 [3]
[4] -0.301406425890131557 - -0.301406425890131502 [4]
[5] -1.793985052892982379 - -1.793985052892983045 [5]
[6] 1.127273003797870876 - 1.127273003797871098 [6]
[7] -2.518383764690358184 - -2.518383764690359072 [7]
[8] 0.897357550023914596 - 0.897357550023914152 [8]
[9] 1.368090693065209695 | 1.368090693065209695 [9]
[10] -0.759038127662827633 | -0.759038127662827633 [10]
... ... ... and 10 more ...
── Failure ('test-v5-prediction-baseline.R:189:3'): serialized legacy fit predicts identically ──
Expected `observed` to be identical to `expected`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] 0.452876183536078225 - 0.452876183536077837 [1]
[2] -0.079225667276012976 - -0.079225667276013267 [2]
[3] -0.789884115690939637 - -0.789884115690939526 [3]
[4] 0.442155505782371505 - 0.442155505782371006 [4]
[5] -0.115007809220551552 - -0.115007809220551316 [5]
[6] 0.661078552168546940 - 0.661078552168547051 [6]
[7] -0.502318791389847807 - -0.502318791389847030 [7]
[8] -0.190689619388338644 - -0.190689619388338866 [8]
[9] -0.458052745239417247 - -0.458052745239416692 [9]
[10] 0.481785007943845656 | 0.481785007943845656 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] -1.18325976537039779 - -1.18325976537039734 [1]
[2] 0.28239815369849397 | 0.28239815369849397 [2]
[3] 2.11512769491940000 | 2.11512769491940000 [3]
[4] -1.09529897858729663 | -1.09529897858729663 [4]
[5] 0.28046078205544794 - 0.28046078205544778 [5]
[6] -1.87853039058592364 - -1.87853039058592319 [6]
[7] 1.21743150441035719 - 1.21743150441035697 [7]
[8] 0.56608881968930924 - 0.56608881968930935 [8]
[9] 1.16058533493207072 - 1.16058533493207028 [9]
[10] -1.31920442448685149 | -1.31920442448685149 [10]
... ... ... and 10 more ...
── Failure ('test-v5-prediction-fitted.R:16:3'): default prediction remains the legacy M3-B baseline ──
Expected `predict(fit, newX = Xnew)` to be identical to `expected`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] 0.452876183536078225 - 0.452876183536077837 [1]
[2] -0.079225667276012976 - -0.079225667276013267 [2]
[3] -0.789884115690939637 - -0.789884115690939526 [3]
[4] 0.442155505782371505 - 0.442155505782371006 [4]
[5] -0.115007809220551552 - -0.115007809220551316 [5]
[6] 0.661078552168546940 - 0.661078552168547051 [6]
[7] -0.502318791389847807 - -0.502318791389847030 [7]
[8] -0.190689619388338644 - -0.190689619388338866 [8]
[9] -0.458052745239417247 - -0.458052745239416692 [9]
[10] 0.481785007943845656 | 0.481785007943845656 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] -1.18325976537039779 - -1.18325976537039734 [1]
[2] 0.28239815369849397 | 0.28239815369849397 [2]
[3] 2.11512769491940000 | 2.11512769491940000 [3]
[4] -1.09529897858729663 | -1.09529897858729663 [4]
[5] 0.28046078205544794 - 0.28046078205544778 [5]
[6] -1.87853039058592364 - -1.87853039058592319 [6]
[7] 1.21743150441035719 - 1.21743150441035697 [7]
[8] 0.56608881968930924 - 0.56608881968930935 [8]
[9] 1.16058533493207072 - 1.16058533493207028 [9]
[10] -1.31920442448685149 | -1.31920442448685149 [10]
... ... ... and 10 more ...
── Failure ('test-v5-prediction-fitted.R:17:3'): default prediction remains the legacy M3-B baseline ──
Expected `predict(fit, newX = Xnew, preprocessing = "legacy")` to be identical to `expected`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] 0.452876183536078225 - 0.452876183536077837 [1]
[2] -0.079225667276012976 - -0.079225667276013267 [2]
[3] -0.789884115690939637 - -0.789884115690939526 [3]
[4] 0.442155505782371505 - 0.442155505782371006 [4]
[5] -0.115007809220551552 - -0.115007809220551316 [5]
[6] 0.661078552168546940 - 0.661078552168547051 [6]
[7] -0.502318791389847807 - -0.502318791389847030 [7]
[8] -0.190689619388338644 - -0.190689619388338866 [8]
[9] -0.458052745239417247 - -0.458052745239416692 [9]
[10] 0.481785007943845656 | 0.481785007943845656 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] -1.18325976537039779 - -1.18325976537039734 [1]
[2] 0.28239815369849397 | 0.28239815369849397 [2]
[3] 2.11512769491940000 | 2.11512769491940000 [3]
[4] -1.09529897858729663 | -1.09529897858729663 [4]
[5] 0.28046078205544794 - 0.28046078205544778 [5]
[6] -1.87853039058592364 - -1.87853039058592319 [6]
[7] 1.21743150441035719 - 1.21743150441035697 [7]
[8] 0.56608881968930924 - 0.56608881968930935 [8]
[9] 1.16058533493207072 - 1.16058533493207028 [9]
[10] -1.31920442448685149 | -1.31920442448685149 [10]
... ... ... and 10 more ...
[ FAIL 13 | WARN 0 | SKIP 3 | PASS 989 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-macos-arm64
Version: 5.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(msma)
> test_check("msma")
Saving _problems/test-v5-prediction-baseline-17.R
Saving _problems/test-v5-prediction-baseline-34.R
Saving _problems/test-v5-prediction-baseline-57.R
Saving _problems/test-v5-prediction-baseline-91.R
Saving _problems/test-v5-prediction-baseline-113.R
Saving _problems/test-v5-prediction-baseline-114.R
Saving _problems/test-v5-prediction-baseline-132.R
Saving _problems/test-v5-prediction-baseline-133.R
Saving _problems/test-v5-prediction-baseline-151.R
Saving _problems/test-v5-prediction-baseline-169.R
Saving _problems/test-v5-prediction-baseline-189.R
Saving _problems/test-v5-prediction-fitted-16.R
Saving _problems/test-v5-prediction-fitted-20.R
[ FAIL 13 | WARN 0 | SKIP 3 | PASS 989 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• Source-tree documentation files are not available. (3):
'test-v5-prediction-documentation.R:37:5',
'test-v5-prediction-documentation.R:82:5',
'test-v5-prediction-documentation.R:160:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-v5-prediction-baseline.R:17:3'): legacy PCA prediction with scaling TRUE matches baseline ──
Expected `observed` to be identical to `expected`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] 0.452876183536078170 - 0.452876183536077837 [1]
[2] -0.079225667276013115 - -0.079225667276013267 [2]
[3] -0.789884115690939748 - -0.789884115690939526 [3]
[4] 0.442155505782371283 - 0.442155505782371006 [4]
[5] -0.115007809220551482 - -0.115007809220551316 [5]
[6] 0.661078552168547162 - 0.661078552168547051 [6]
[7] -0.502318791389847474 - -0.502318791389847030 [7]
[8] -0.190689619388338838 - -0.190689619388338866 [8]
[9] -0.458052745239417136 - -0.458052745239416692 [9]
[10] 0.481785007943845711 - 0.481785007943845656 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] -1.18325976537039779 - -1.18325976537039734 [1]
[2] 0.28239815369849397 | 0.28239815369849397 [2]
[3] 2.11512769491940045 - 2.11512769491940000 [3]
[4] -1.09529897858729663 | -1.09529897858729663 [4]
[5] 0.28046078205544794 - 0.28046078205544778 [5]
[6] -1.87853039058592386 - -1.87853039058592319 [6]
[7] 1.21743150441035719 - 1.21743150441035697 [7]
[8] 0.56608881968930946 - 0.56608881968930935 [8]
[9] 1.16058533493207072 - 1.16058533493207028 [9]
[10] -1.31920442448685149 | -1.31920442448685149 [10]
... ... ... and 10 more ...
── Failure ('test-v5-prediction-baseline.R:34:3'): legacy PCA prediction with scaling FALSE matches baseline ──
Expected `observed` to be identical to `expected`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] -0.130399884531725435 - -0.130399884531725629 [1]
[2] -0.162578308356472578 - -0.162578308356472218 [2]
[3] -0.895494599351058018 - -0.895494599351058129 [3]
[4] 0.324260603446073437 - 0.324260603446073270 [4]
[5] 0.371899380690175418 - 0.371899380690175474 [5]
[6] 0.069972375597097847 - 0.069972375597097874 [6]
[7] -0.281724115657135454 | -0.281724115657135454 [7]
[8] -1.465732087681434592 | -1.465732087681434592 [8]
[9] -0.005570285708659003 - -0.005570285708658917 [9]
[10] -0.995315060268985863 - -0.995315060268985752 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] -0.378709057563207718 - -0.378709057563207441 [1]
[2] -0.242961100002731856 - -0.242961100002732161 [2]
[3] 1.640784472210377265 - 1.640784472210377931 [3]
[4] -1.192075063031929005 | -1.192075063031929005 [4]
[5] -0.455474737519725670 | -0.455474737519725670 [5]
[6] 0.626015205420247578 - 0.626015205420247800 [6]
[7] 0.219575583256993251 | 0.219575583256993251 [7]
[8] -0.801378179166683857 | -0.801378179166683857 [8]
[9] -0.528012250226710611 | -0.528012250226710611 [9]
[10] 1.783021968961968851 - 1.783021968961969295 [10]
... ... ... and 10 more ...
── Failure ('test-v5-prediction-baseline.R:57:3'): legacy PLS X and Y prediction matches baseline ──
Expected `observed` to be identical to `expected`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] -0.523094306526272979 - -0.523094306526273090 [1]
[2] -0.176422825399348587 - -0.176422825399348449 [2]
[3] -0.459723170360350930 - -0.459723170360350597 [3]
[4] -1.053508918204909328 - -1.053508918204908884 [4]
[5] -0.567187110109685588 - -0.567187110109685477 [5]
[6] 0.180976738516999053 - 0.180976738516999358 [6]
[7] -0.602980222901095209 - -0.602980222901094876 [7]
[8] -0.449003780772402106 - -0.449003780772401884 [8]
[9] 0.421202099221768989 - 0.421202099221769433 [9]
[10] 0.194288616598771391 - 0.194288616598771446 [10]
... ... ... and 38 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] 0.31181826146939534 - 0.31181826146939551 [1]
[2] 0.44058677717949424 - 0.44058677717949390 [2]
[3] -0.20672814104915785 - -0.20672814104915799 [3]
[4] 1.05668408876376518 - 1.05668408876376474 [4]
[5] -0.66821032624325338 - -0.66821032624325349 [5]
[6] -0.69624578411405125 - -0.69624578411405147 [6]
[7] 0.45990899590726647 - 0.45990899590726586 [7]
[8] 1.00450498939475663 - 1.00450498939475641 [8]
[9] 1.00435613160307047 | 1.00435613160307047 [9]
[10] -0.13162459643366492 - -0.13162459643366506 [10]
... ... ... and 6 more ...
actual$Y[[1]] | expected$Y[[1]]
[1] 1.202706738567212108 - 1.202706738567212774 [1]
[2] 1.107076683355466384 - 1.107076683355467273 [2]
[3] 0.853082883333361908 - 0.853082883333362241 [3]
[4] -0.864102628356017144 - -0.864102628356016700 [4]
[5] 1.073773392113208658 | 1.073773392113208658 [5]
[6] 0.083172261170428086 - 0.083172261170427808 [6]
[7] 0.909439004705058895 | 0.909439004705058895 [7]
[8] 0.642609122942905842 - 0.642609122942906064 [8]
[9] -0.372637401187600803 - -0.372637401187601136 [9]
[10] -0.355134329716218999 - -0.355134329716219332 [10]
... ... ... and 22 more ...
actual$sbY[[1]] | expected$sbY[[1]]
[1] -0.67440281496621435 - -0.67440281496621490 [1]
[2] -0.47660739409271646 - -0.47660739409271669 [2]
[3] 0.17019238494876160 - 0.17019238494876143 [3]
[4] 0.88201824052136468 | 0.88201824052136468 [4]
[5] 0.37789182440954605 - 0.37789182440954583 [5]
[6] -0.69097149641876920 | -0.69097149641876920 [6]
[7] -0.81991968858760944 | -0.81991968858760944 [7]
[8] 0.25222626095032091 - 0.25222626095032064 [8]
[9] -1.15619478045684465 - -1.15619478045684532 [9]
[10] -1.20785786543765705 - -1.20785786543765816 [10]
... ... ... and 6 more ...
── Failure ('test-v5-prediction-baseline.R:91:3'): single-row legacy prediction matches baseline and stays finite ──
Expected `observed` to be identical to `expected`.
Differences:
`actual$sbX[[1]]`: -1.3090686290293942 1.1724077958339225
`expected$sbX[[1]]`: -1.3090686290293954 1.1724077958339212
── Failure ('test-v5-prediction-baseline.R:113:3'): legacy prediction remains batch dependent ──
Expected `observed_a` to be identical to `expected$batch_a`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] -0.901039161712105852 - -0.901039161712105963 [1]
[2] 0.363159018359112906 - 0.363159018359112407 [2]
[3] 0.268762591518390548 - 0.268762591518391103 [3]
[4] 0.823248914948660482 - 0.823248914948660038 [4]
[5] -0.759860079634850916 - -0.759860079634851249 [5]
[6] -1.024040236266799520 - -1.024040236266799297 [6]
[7] -1.051871031212670893 - -1.051871031212670671 [7]
[8] 0.186128422263027810 - 0.186128422263028143 [8]
[9] 0.465518019654671267 - 0.465518019654671156 [9]
[10] 0.006543747384958454 - 0.006543747384958404 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] 0.713550139120632809 - 0.713550139120633031 [1]
[2] -1.240222643738731367 - -1.240222643738731145 [2]
[3] 0.058294602617839364 - 0.058294602617839031 [3]
[4] -1.313830324281399120 - -1.313830324281398898 [4]
[5] 0.416909330241694853 - 0.416909330241695242 [5]
[6] 0.878936507188950000 - 0.878936507188950222 [6]
[7] 1.573208893649608475 - 1.573208893649608697 [7]
[8] 0.082848374731328445 - 0.082848374731328389 [8]
[9] -1.215408446075660009 - -1.215408446075660454 [9]
[10] 0.003651613363380702 - 0.003651613363380629 [10]
... ... ... and 10 more ...
── Failure ('test-v5-prediction-baseline.R:114:3'): legacy prediction remains batch dependent ──
Expected `observed_b` to be identical to `expected$batch_b`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] -0.0834987328657079003 - -0.0834987328657079420 [1]
[2] 0.7164640260843857522 - 0.7164640260843854191 [2]
[3] 0.7383071888023987617 - 0.7383071888023983176 [3]
[4] 1.2416869790219176029 - 1.2416869790219169367 [4]
[5] 1.1557746607789034510 - 1.1557746607789032289 [5]
[6] 0.5438454608364915455 - 0.5438454608364909904 [6]
[7] 0.7309960876172426625 - 0.7309960876172425515 [7]
[8] 0.9389355319766934382 - 0.9389355319766932162 [8]
[9] 1.2028011496276258541 - 1.2028011496276254100 [9]
[10] 0.7525627040089958308 - 0.7525627040089953868 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] 0.023667518245943927 - 0.023667518245943948 [1]
[2] 0.245630816471611613 - 0.245630816471611391 [2]
[3] -0.027081877813629932 - -0.027081877813630306 [3]
[4] 0.705532649728989658 - 0.705532649728989325 [4]
[5] 0.073753920820738117 - 0.073753920820738006 [5]
[6] 0.722725935264841968 - 0.722725935264841746 [6]
[7] 0.136543599320059633 - 0.136543599320059494 [7]
[8] 0.563214089054700384 - 0.563214089054700162 [8]
[9] 0.571064330127938224 - 0.571064330127937891 [9]
[10] 0.599007004240829977 | 0.599007004240829977 [10]
... ... ... and 10 more ...
── Failure ('test-v5-prediction-baseline.R:132:3'): legacy prediction accepts reordered columns and changes results ──
Expected `original_result` to be identical to `expected$order_original`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] 0.377851207310070103 - 0.377851207310070158 [1]
[2] -1.661923846338249744 - -1.661923846338250188 [2]
[3] -0.435415163085950851 - -0.435415163085950907 [3]
[4] 1.336839952056728897 - 1.336839952056729119 [4]
[5] -0.260404856721396016 - -0.260404856721396238 [5]
[6] 0.224063012501865222 - 0.224063012501865610 [6]
[7] 0.686007394996469788 - 0.686007394996469566 [7]
[8] -0.821575951066536136 | -0.821575951066536136 [8]
[9] -0.647018777696336422 | -0.647018777696336422 [9]
[10] 0.042101486598538344 - 0.042101486598538518 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] -0.352512519580513994 - -0.352512519580514050 [1]
[2] 2.787958038405929706 | 2.787958038405929706 [2]
[3] 1.331639200146652380 - 1.331639200146652602 [3]
[4] -0.955847147775744643 | -0.955847147775744643 [4]
[5] 0.490277961321383793 - 0.490277961321384181 [5]
[6] 0.420438366175258205 - 0.420438366175257705 [6]
[7] -1.202798926228347387 | -1.202798926228347387 [7]
[8] 0.988815186193189088 | 0.988815186193189088 [8]
[9] 1.179192070653735769 - 1.179192070653736213 [9]
[10] -0.735179382065165976 - -0.735179382065166087 [10]
... ... ... and 10 more ...
── Failure ('test-v5-prediction-baseline.R:133:3'): legacy prediction accepts reordered columns and changes results ──
Expected `reordered_result` to be identical to `expected$order_reordered`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] -0.232012710474203437 - -0.232012710474203826 [1]
[2] -0.007103787754712876 - -0.007103787754712321 [2]
[3] -0.245962848808633811 - -0.245962848808633450 [3]
[4] -0.101587252040220066 - -0.101587252040220288 [4]
[5] 0.243208298252603428 | 0.243208298252603428 [5]
[6] -0.933953470350014747 - -0.933953470350015302 [6]
[7] 0.894022860229077287 | 0.894022860229077287 [7]
[8] -0.399311348539899913 - -0.399311348539899746 [8]
[9] 0.023147546093287390 - 0.023147546093287841 [9]
[10] 0.091454283206375345 - 0.091454283206375289 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] 0.344115555502552739 - 0.344115555502553294 [1]
[2] 0.587581336765274687 - 0.587581336765274131 [2]
[3] 0.970076973300089573 - 0.970076973300089240 [3]
[4] 0.628299098881815010 - 0.628299098881815454 [4]
[5] -0.393994665513056286 - -0.393994665513055953 [5]
[6] 1.195507550406464503 - 1.195507550406464725 [6]
[7] -1.339329777199538274 - -1.339329777199538052 [7]
[8] 1.669908432409992649 - 1.669908432409992871 [8]
[9] 0.953664482438456584 - 0.953664482438456362 [9]
[10] 0.076765793302974061 - 0.076765793302974436 [10]
... ... ... and 10 more ...
── Failure ('test-v5-prediction-baseline.R:151:3'): legacy multiblock prediction loses block names ──
Expected `observed` to be identical to `expected`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] -0.504460305376386309 - -0.504460305376386753 [1]
[2] 0.348554591293173066 - 0.348554591293173011 [2]
[3] 0.894840171620574609 | 0.894840171620574609 [3]
[4] 0.382532856211924344 - 0.382532856211924455 [4]
[5] -0.826959684546365148 - -0.826959684546365370 [5]
[6] -0.494210418307085175 - -0.494210418307085397 [6]
[7] -1.005368884887174907 - -1.005368884887175129 [7]
[8] -0.981402790610048870 - -0.981402790610049425 [8]
[9] -0.347839293250235881 - -0.347839293250236214 [9]
[10] 1.582388204747431359 - 1.582388204747431582 [10]
... ... ... and 18 more ...
actual$X[[2]] | expected$X[[2]]
[1] -0.550103168888718796 - -0.550103168888718908 [1]
[2] -0.314326015389588820 - -0.314326015389588875 [2]
[3] 0.709372955010983741 | 0.709372955010983741 [3]
[4] 1.300390306839486643 - 1.300390306839486865 [4]
[5] -0.570350875740348595 | -0.570350875740348595 [5]
[6] 1.183214844282103106 | 1.183214844282103106 [6]
[7] -0.922890651821682950 | -0.922890651821682950 [7]
[8] 0.990092429059156398 - 0.990092429059156176 [8]
[9] -1.144738029161849413 - -1.144738029161849635 [9]
[10] 1.482056561371452252 | 1.482056561371452252 [10]
... ... ... and 11 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] -0.022934349077427529 - -0.022934349077427196 [1]
[2] -1.050163979928612656 | -1.050163979928612656 [2]
[3] -0.123987776839698999 - -0.123987776839699415 [3]
[4] 0.197727108153924719 - 0.197727108153924414 [4]
[5] 1.230425591137038088 - 1.230425591137038310 [5]
[6] 0.220937362474467769 - 0.220937362474467713 [6]
[7] 1.106195393721097098 - 1.106195393721097542 [7]
[8] -1.073363363736147047 - -1.073363363736147491 [8]
[9] -0.258342770455605164 - -0.258342770455605497 [9]
[10] 1.749522687451318781 - 1.749522687451318559 [10]
... ... ... and 4 more ...
actual$sbX[[2]] | expected$sbX[[2]]
[1] 1.65637794365382507 - 1.65637794365382485 [1]
[2] -0.92470516136095360 - -0.92470516136095315 [2]
[3] 0.88202154801776500 - 0.88202154801776422 [3]
[4] -1.01448566903566828 - -1.01448566903566872 [4]
[5] -0.10250682984488782 - -0.10250682984488763 [5]
[6] -0.57822701563450185 - -0.57822701563450241 [6]
[7] 1.11485763187776654 - 1.11485763187776699 [7]
[8] 0.26617748765561372 - 0.26617748765561400 [8]
[9] -1.00547314903488205 - -1.00547314903488227 [9]
[10] 1.52378627169987135 | 1.52378627169987135 [10]
... ... ... and 4 more ...
── Failure ('test-v5-prediction-baseline.R:169:3'): legacy prediction replaces transformed missing values with zero ──
Expected `observed` to be identical to `expected`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] 0.731309470561102293 - 0.731309470561101960 [1]
[2] -0.561031006205601201 | -0.561031006205601201 [2]
[3] 0.940514623049489074 - 0.940514623049489185 [3]
[4] -0.530864693040834168 - -0.530864693040834057 [4]
[5] 0.195890450431500274 - 0.195890450431500662 [5]
[6] -0.201288468671398352 - -0.201288468671397852 [6]
[7] 0.970316774000795856 - 0.970316774000795967 [7]
[8] -1.146424868698448840 - -1.146424868698448396 [8]
[9] -0.165647173826357491 - -0.165647173826357852 [9]
[10] 1.519231174140384777 | 1.519231174140384777 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] 0.384518446517846835 - 0.384518446517846946 [1]
[2] -0.900865240818702340 - -0.900865240818702895 [2]
[3] -0.152726229247289236 - -0.152726229247289097 [3]
[4] -0.301406425890131557 - -0.301406425890131502 [4]
[5] -1.793985052892982601 - -1.793985052892983045 [5]
[6] 1.127273003797871098 | 1.127273003797871098 [6]
[7] -2.518383764690358184 - -2.518383764690359072 [7]
[8] 0.897357550023914485 - 0.897357550023914152 [8]
[9] 1.368090693065209695 | 1.368090693065209695 [9]
[10] -0.759038127662827744 - -0.759038127662827633 [10]
... ... ... and 10 more ...
── Failure ('test-v5-prediction-baseline.R:189:3'): serialized legacy fit predicts identically ──
Expected `observed` to be identical to `expected`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] 0.452876183536078170 - 0.452876183536077837 [1]
[2] -0.079225667276013115 - -0.079225667276013267 [2]
[3] -0.789884115690939748 - -0.789884115690939526 [3]
[4] 0.442155505782371283 - 0.442155505782371006 [4]
[5] -0.115007809220551482 - -0.115007809220551316 [5]
[6] 0.661078552168547162 - 0.661078552168547051 [6]
[7] -0.502318791389847474 - -0.502318791389847030 [7]
[8] -0.190689619388338838 - -0.190689619388338866 [8]
[9] -0.458052745239417136 - -0.458052745239416692 [9]
[10] 0.481785007943845711 - 0.481785007943845656 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] -1.18325976537039779 - -1.18325976537039734 [1]
[2] 0.28239815369849397 | 0.28239815369849397 [2]
[3] 2.11512769491940045 - 2.11512769491940000 [3]
[4] -1.09529897858729663 | -1.09529897858729663 [4]
[5] 0.28046078205544794 - 0.28046078205544778 [5]
[6] -1.87853039058592386 - -1.87853039058592319 [6]
[7] 1.21743150441035719 - 1.21743150441035697 [7]
[8] 0.56608881968930946 - 0.56608881968930935 [8]
[9] 1.16058533493207072 - 1.16058533493207028 [9]
[10] -1.31920442448685149 | -1.31920442448685149 [10]
... ... ... and 10 more ...
── Failure ('test-v5-prediction-fitted.R:16:3'): default prediction remains the legacy M3-B baseline ──
Expected `predict(fit, newX = Xnew)` to be identical to `expected`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] 0.452876183536078170 - 0.452876183536077837 [1]
[2] -0.079225667276013115 - -0.079225667276013267 [2]
[3] -0.789884115690939748 - -0.789884115690939526 [3]
[4] 0.442155505782371283 - 0.442155505782371006 [4]
[5] -0.115007809220551482 - -0.115007809220551316 [5]
[6] 0.661078552168547162 - 0.661078552168547051 [6]
[7] -0.502318791389847474 - -0.502318791389847030 [7]
[8] -0.190689619388338838 - -0.190689619388338866 [8]
[9] -0.458052745239417136 - -0.458052745239416692 [9]
[10] 0.481785007943845711 - 0.481785007943845656 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] -1.18325976537039779 - -1.18325976537039734 [1]
[2] 0.28239815369849397 | 0.28239815369849397 [2]
[3] 2.11512769491940045 - 2.11512769491940000 [3]
[4] -1.09529897858729663 | -1.09529897858729663 [4]
[5] 0.28046078205544794 - 0.28046078205544778 [5]
[6] -1.87853039058592386 - -1.87853039058592319 [6]
[7] 1.21743150441035719 - 1.21743150441035697 [7]
[8] 0.56608881968930946 - 0.56608881968930935 [8]
[9] 1.16058533493207072 - 1.16058533493207028 [9]
[10] -1.31920442448685149 | -1.31920442448685149 [10]
... ... ... and 10 more ...
── Failure ('test-v5-prediction-fitted.R:17:3'): default prediction remains the legacy M3-B baseline ──
Expected `predict(fit, newX = Xnew, preprocessing = "legacy")` to be identical to `expected`.
Differences:
actual$X[[1]] | expected$X[[1]]
[1] 0.452876183536078170 - 0.452876183536077837 [1]
[2] -0.079225667276013115 - -0.079225667276013267 [2]
[3] -0.789884115690939748 - -0.789884115690939526 [3]
[4] 0.442155505782371283 - 0.442155505782371006 [4]
[5] -0.115007809220551482 - -0.115007809220551316 [5]
[6] 0.661078552168547162 - 0.661078552168547051 [6]
[7] -0.502318791389847474 - -0.502318791389847030 [7]
[8] -0.190689619388338838 - -0.190689619388338866 [8]
[9] -0.458052745239417136 - -0.458052745239416692 [9]
[10] 0.481785007943845711 - 0.481785007943845656 [10]
... ... ... and 50 more ...
actual$sbX[[1]] | expected$sbX[[1]]
[1] -1.18325976537039779 - -1.18325976537039734 [1]
[2] 0.28239815369849397 | 0.28239815369849397 [2]
[3] 2.11512769491940045 - 2.11512769491940000 [3]
[4] -1.09529897858729663 | -1.09529897858729663 [4]
[5] 0.28046078205544794 - 0.28046078205544778 [5]
[6] -1.87853039058592386 - -1.87853039058592319 [6]
[7] 1.21743150441035719 - 1.21743150441035697 [7]
[8] 0.56608881968930946 - 0.56608881968930935 [8]
[9] 1.16058533493207072 - 1.16058533493207028 [9]
[10] -1.31920442448685149 | -1.31920442448685149 [10]
... ... ... and 10 more ...
[ FAIL 13 | WARN 0 | SKIP 3 | PASS 989 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-macos-arm64