Last updated on 2026-02-12 06:53:02 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.2.7 | NOTE | ||||
| r-devel-linux-x86_64-debian-gcc | 0.2.7 | 2.83 | 116.44 | 119.27 | NOTE | |
| r-devel-linux-x86_64-fedora-clang | 0.2.7 | 8.00 | 297.85 | 305.85 | NOTE | |
| r-devel-linux-x86_64-fedora-gcc | 0.2.7 | 8.00 | 306.54 | 314.54 | NOTE | |
| r-devel-macos-arm64 | 0.2.7 | 1.00 | 46.00 | 47.00 | ERROR | |
| r-devel-windows-x86_64 | 0.2.7 | 6.00 | 166.00 | 172.00 | NOTE | |
| r-patched-linux-x86_64 | 0.2.7 | 5.14 | 164.64 | 169.78 | NOTE | |
| r-release-linux-x86_64 | 0.2.7 | 4.31 | 157.13 | 161.44 | NOTE | |
| r-release-macos-arm64 | 0.2.7 | NOTE | ||||
| r-release-macos-x86_64 | 0.2.7 | 3.00 | 191.00 | 194.00 | NOTE | |
| r-release-windows-x86_64 | 0.2.7 | 7.00 | 161.00 | 168.00 | NOTE | |
| r-oldrel-macos-arm64 | 0.2.7 | NOTE | ||||
| r-oldrel-macos-x86_64 | 0.2.7 | 3.00 | 115.00 | 118.00 | NOTE | |
| r-oldrel-windows-x86_64 | 0.2.7 | 9.00 | 221.00 | 230.00 | NOTE |
Version: 0.2.7
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Georg M. Goerg <im@gmge.org>’
Package CITATION file contains call(s) to old-style personList() or
as.personList(). Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry(). Please
use bibentry() instead.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.2.7
Check: Rd files
Result: NOTE
checkRd: (-1) foreca.Rd:77: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) foreca.Rd:78-80: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) foreca.Rd:81-83: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) foreca.Rd:84-87: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) foreca.Rd:88-90: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) foreca.Rd:91-92: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) foreca.Rd:93: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) initialize_weightvector.Rd:53-54: Lost braces in \itemize; meant \describe ?
checkRd: (-1) initialize_weightvector.Rd:55: Lost braces in \itemize; meant \describe ?
checkRd: (-1) initialize_weightvector.Rd:56: Lost braces in \itemize; meant \describe ?
checkRd: (-1) initialize_weightvector.Rd:57: Lost braces in \itemize; meant \describe ?
checkRd: (-1) initialize_weightvector.Rd:58: Lost braces in \itemize; meant \describe ?
checkRd: (-1) initialize_weightvector.Rd:59: Lost braces in \itemize; meant \describe ?
checkRd: (-1) initialize_weightvector.Rd:60-61: Lost braces in \itemize; meant \describe ?
checkRd: (-1) initialize_weightvector.Rd:62: Lost braces in \itemize; meant \describe ?
checkRd: (-1) initialize_weightvector.Rd:63: Lost braces in \itemize; meant \describe ?
checkRd: (-1) initialize_weightvector.Rd:64-65: Lost braces in \itemize; meant \describe ?
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-arm64, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 0.2.7
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check("ForeCA")
Loading required package: ForeCA
This is 'ForeCA' version 0.2.7. See https://github.com/gmgeorg/ForeCA for latest updates and citation("ForeCA").
May the ForeC be with you.
Seed used in testing 548676
$estimate
$weightvector.trace
Series 1 Series 2 Series 3 Series 4 Series 5
Iter 0 0.8508559 0.1638361 0.3256218 0.15438309 0.3454537
Iter 1 0.8624697 0.1740986 0.3023916 0.10648321 0.3507939
Iter 2 0.8666853 0.1816373 0.2933533 0.08954103 0.3489854
Iter 3 0.8685611 0.1855961 0.2895743 0.08322078 0.3469536
Iter 4 0.8694451 0.1874853 0.2879162 0.08070921 0.3456945
Iter 5 0.8698647 0.1883562 0.2871707 0.07966136 0.3450282
Iter 6 0.8700626 0.1887523 0.2868316 0.07920956 0.3446984
Iter 7 0.8701553 0.1889317 0.2866767 0.07901062 0.3445408
$h.trace
[1] 0.6081042 0.6056372 0.6052891 0.6052296 0.6052182 0.6052160 0.6052155
[8] 0.6052154
$h.trace.univ
[1] 0.6088211 0.6063578 0.6060110 0.6059520 0.6059408 0.6059386 0.6059382
[8] 0.6059381
$Omega.trace
[1] 39.11789 39.36422 39.39890 39.40480 39.40592 39.40614 39.40618 39.40619
$Omega.trace.univ
[1] 39.10870 39.35343 39.39143 39.39964 39.40197 39.40278 39.40310 39.40323
$Omega
[1] 39.40619
$h
[1] 0.6052154
$weightvector
Series 1 Series 2 Series 3 Series 4 Series 5
[1,] 0.8701553 0.1889317 0.2866767 0.07901062 0.3445408
$iterations
[1] 7
$converged
[1] TRUE
attr(,"class")
[1] "foreca.EM.one_weightvector"
$algorithm.control
$algorithm.control$tol
[1] 1e-06
$algorithm.control$type
[1] "EM"
$algorithm.control$max.iter
[1] 50
$algorithm.control$num.starts
[1] 10
$spectrum.control
$spectrum.control$method
[1] "mvspec"
$spectrum.control$smoothing
[1] FALSE
$entropy.control
$entropy.control$base
[1] 200
$entropy.control$method
[1] "MLE"
$entropy.control$prior.probs
[1] 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005
[13] 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005
[25] 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005
[37] 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005
[49] 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005
[61] 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005
[73] 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005
[85] 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005
[97] 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005
[109] 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005
[121] 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005
[133] 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005
[145] 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005
[157] 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005
[169] 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005
[181] 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005
[193] 0.005 0.005 0.005 0.005 0.005 0.005 0.005 0.005
$entropy.control$prior.weight
[1] 0.001
$entropy.control$threshold
[1] 0
$best.attempt
[1] "SFA.slow"
$h
[1] 0.6052154
$iterations
[1] 7
$Omega.trace
[1] 39.11789 39.36422 39.39890 39.40480 39.40592 39.40614 39.40618 39.40619
$converged
[1] TRUE
$weightvector
Series 1 Series 2 Series 3 Series 4 Series 5
[1,] 0.8701553 0.1889317 0.2866767 0.07901062 0.3445408
$score
Time Series:
Start = 1
End = 200
Frequency = 1
Series 1
[1,] 0.531007716
[2,] -0.242381264
[3,] 1.409868023
[4,] -0.496304337
[5,] 1.716055552
[6,] 1.215954077
[7,] 1.451089896
[8,] 0.104152544
[9,] 1.359256702
[10,] 0.285875177
[11,] 1.149123825
[12,] 0.967830540
[13,] 1.337378938
[14,] 1.101469353
[15,] 1.973763846
[16,] 1.099759321
[17,] 1.333472740
[18,] 0.952254728
[19,] 0.126525833
[20,] 0.503903133
[21,] -0.121605801
[22,] 0.099599114
[23,] -0.174723472
[24,] -0.766188032
[25,] -0.877366634
[26,] 0.151427335
[27,] -0.282278510
[28,] 0.907577459
[29,] 0.071132618
[30,] 0.528527172
[31,] 0.145771561
[32,] -0.180752132
[33,] -0.524587068
[34,] 0.728527790
[35,] -0.339084484
[36,] 1.159065923
[37,] -0.548097651
[38,] -0.291667390
[39,] -0.627526287
[40,] 0.198277587
[41,] 0.203378208
[42,] 1.005445894
[43,] -0.447978457
[44,] 1.363051139
[45,] -0.259644397
[46,] 1.117157290
[47,] 0.315163991
[48,] 0.559882928
[49,] -0.651240004
[50,] 0.009362618
[51,] -0.304379137
[52,] -0.822919727
[53,] -0.723055455
[54,] -0.716653382
[55,] -0.721987657
[56,] -0.793610174
[57,] -0.528863058
[58,] -1.111243550
[59,] -0.071374662
[60,] -0.446230070
[61,] 0.331060473
[62,] -0.793260476
[63,] 0.524959324
[64,] -1.414416234
[65,] -0.325846868
[66,] -1.755264648
[67,] -1.802505363
[68,] -0.968185758
[69,] -1.834274976
[70,] -1.382675094
[71,] -1.882340829
[72,] -1.370481240
[73,] -0.931984720
[74,] -0.282723629
[75,] -1.466617936
[76,] -1.274214194
[77,] -2.163751069
[78,] -2.218751946
[79,] -1.127605309
[80,] -1.962034934
[81,] -1.866183835
[82,] -2.209758349
[83,] -1.471593918
[84,] -1.760257753
[85,] -1.673410936
[86,] -2.312339442
[87,] -2.124042454
[88,] -1.287288091
[89,] -1.357638657
[90,] -0.207126952
[91,] -1.205260846
[92,] -0.764016805
[93,] -1.442218131
[94,] -1.342322292
[95,] -1.186217102
[96,] -0.541453489
[97,] -0.681423129
[98,] -0.353442655
[99,] 0.065747247
[100,] 0.434787571
[101,] 0.020343267
[102,] -0.038566702
[103,] 0.711138734
[104,] 0.283601678
[105,] 1.363741780
[106,] 0.577228013
[107,] 0.546651205
[108,] 0.747084152
[109,] 0.351715093
[110,] 0.851474130
[111,] -0.052121981
[112,] -0.518415576
[113,] 0.026586666
[114,] -0.280332539
[115,] 0.486560673
[116,] -1.010499266
[117,] 0.577864353
[118,] 0.088537178
[119,] 1.086391240
[120,] 0.841973481
[121,] 1.884389832
[122,] 0.542106328
[123,] 1.125791694
[124,] 0.812417670
[125,] 0.625533083
[126,] 0.918099558
[127,] 1.117545948
[128,] 0.661568597
[129,] 1.295189777
[130,] 0.973610843
[131,] 0.857014739
[132,] 0.526005218
[133,] 1.238805734
[134,] 0.703037589
[135,] 1.385842627
[136,] 0.655007379
[137,] 1.691197866
[138,] 0.267806343
[139,] 1.650345132
[140,] 1.033591479
[141,] 1.558415331
[142,] 1.435358682
[143,] 1.794093075
[144,] 1.134096802
[145,] 1.515495906
[146,] 1.351195500
[147,] 0.569260043
[148,] 0.879263479
[149,] 1.798577922
[150,] 0.184137791
[151,] 0.582924483
[152,] 0.835844340
[153,] 1.084250908
[154,] 1.492123583
[155,] 1.184609364
[156,] 1.535874852
[157,] 0.896541067
[158,] 0.875480357
[159,] 0.988240287
[160,] 0.307485677
[161,] 1.187293443
[162,] -0.123912466
[163,] 0.089205808
[164,] -0.594852154
[165,] -0.014191160
[166,] -1.012829253
[167,] -0.021893739
[168,] -0.105140697
[169,] -0.143783306
[170,] 0.176642079
[171,] -0.260711573
[172,] 0.278283309
[173,] -0.890847937
[174,] 0.023817187
[175,] -1.218054942
[176,] -0.554278834
[177,] -0.467698915
[178,] -0.187185196
[179,] -0.616961190
[180,] -0.670460555
[181,] -1.228137631
[182,] -1.287313976
[183,] -0.891122657
[184,] -1.600040146
[185,] 0.189567929
[186,] -0.903721844
[187,] -0.571664576
[188,] -0.589397135
[189,] -0.790509118
[190,] -0.945152831
[191,] -0.398301692
[192,] -0.576784233
[193,] 0.095190442
[194,] -0.656570997
[195,] 0.761527861
[196,] -0.852501961
[197,] 0.246820528
[198,] -0.291474967
[199,] 0.881657650
[200,] -0.817615345
attr(,"whitened")
[1] TRUE
$Omega.init
[1] 39.1087
attr(,"unit")
[1] "%"
$Omega
[1] 39.40619
$best.f
[1] 9.276680e-02 2.015693e-01 3.170411e-03 4.215030e-02 1.966489e-03
[6] 5.388620e-03 8.014078e-03 9.595580e-05 3.051171e-03 4.381243e-04
[11] 6.122249e-03 3.120716e-03 9.639396e-03 7.682677e-03 4.659447e-04
[16] 1.158130e-03 3.027707e-03 5.281574e-04 6.304311e-04 3.024080e-05
[21] 3.376575e-03 9.527856e-04 1.637330e-03 7.020073e-04 1.320455e-03
[26] 1.075432e-03 1.629566e-03 2.120256e-03 5.572384e-04 9.992411e-04
[31] 8.343970e-05 1.990236e-03 3.048766e-04 7.068383e-05 1.286122e-03
[36] 3.434084e-04 4.705033e-04 1.049453e-03 6.489878e-04 9.688063e-04
[41] 1.688313e-03 3.462617e-04 2.758472e-04 1.536050e-04 3.781979e-04
[46] 1.510636e-04 1.400191e-04 2.092933e-04 1.145014e-03 7.511327e-05
[51] 2.424899e-05 8.251278e-04 2.750060e-04 1.325533e-04 3.934879e-05
[56] 2.896776e-04 1.289401e-03 5.174085e-04 4.275726e-04 1.723240e-04
[61] 7.395534e-04 6.644013e-05 1.393588e-03 1.006847e-03 9.951920e-04
[66] 1.685137e-04 3.162490e-04 8.929429e-04 2.064822e-04 9.060662e-04
[71] 1.073643e-03 6.584038e-04 4.434815e-04 6.496868e-04 3.615419e-03
[76] 2.023011e-04 3.916437e-04 1.795952e-03 1.781473e-04 4.726287e-04
[81] 4.756564e-04 2.500599e-03 1.261473e-04 5.798732e-04 2.810249e-04
[86] 7.444191e-04 6.115906e-04 3.321676e-03 5.037909e-04 5.313569e-03
[91] 1.288995e-03 3.795535e-03 1.955326e-03 1.259022e-03 5.653691e-05
[96] 6.128468e-03 1.756882e-02 3.675042e-03 6.055964e-03 6.425032e-03
$best.f.univ
[1] 9.280584e-02 2.016842e-01 3.164935e-03 4.206686e-02 1.968451e-03
[6] 5.410595e-03 7.989901e-03 9.675048e-05 3.036389e-03 4.381671e-04
[11] 6.133954e-03 3.140127e-03 9.642182e-03 7.715123e-03 4.785350e-04
[16] 1.171440e-03 3.045749e-03 5.092051e-04 6.273320e-04 3.023488e-05
[21] 3.348931e-03 9.497734e-04 1.623818e-03 6.971748e-04 1.336827e-03
[26] 1.084332e-03 1.612804e-03 2.124447e-03 5.643469e-04 9.956337e-04
[31] 8.582415e-05 1.985959e-03 3.028976e-04 7.168036e-05 1.277593e-03
[36] 3.396795e-04 4.735710e-04 1.040407e-03 6.553005e-04 9.632931e-04
[41] 1.693622e-03 3.460259e-04 2.696614e-04 1.565952e-04 3.782033e-04
[46] 1.393840e-04 1.477018e-04 2.116761e-04 1.170383e-03 8.007365e-05
[51] 2.534625e-05 8.290728e-04 2.587884e-04 1.299230e-04 4.197085e-05
[56] 2.942903e-04 1.300815e-03 5.378603e-04 4.237361e-04 1.673180e-04
[61] 7.462312e-04 6.956334e-05 1.405294e-03 9.976091e-04 9.874679e-04
[66] 1.769881e-04 3.172637e-04 9.008014e-04 2.015485e-04 8.952347e-04
[71] 1.083226e-03 6.625184e-04 4.475467e-04 6.584209e-04 3.674006e-03
[76] 2.153315e-04 3.904965e-04 1.852217e-03 1.827897e-04 4.760030e-04
[81] 4.767325e-04 2.477752e-03 1.284588e-04 5.823268e-04 2.777058e-04
[86] 7.450050e-04 5.900756e-04 3.476483e-03 5.220919e-04 5.158883e-03
[91] 1.281293e-03 3.695016e-03 1.947027e-03 1.283622e-03 4.158765e-05
[96] 5.763557e-03 1.742827e-02 3.811271e-03 5.969818e-03 6.709775e-03
$Omega.univ
[1] 39.40323
attr(,"unit")
[1] "%"
attr(,"class")
[1] "foreca.one_weightvector"
ForeCA found the top 4 ForeCs of 'kSeries' (5 time series).
Out of the top 4 ForeCs, 0 are white noise.
Omega(ForeC 1) = 39.4% vs. maximum Omega(kSeries) = 27.95%.
This is an absolute increase of 11.45 percentage points (relative: 40.98%) in forecastability.
* * * * * * * * * *
Use plot(), biplot(), and summary() for more details.
zero-mean: Mean absolute difference: 1.513723
unit-variance: Mean relative difference: 2.542441
uncorrelated: Mean absolute difference: 0.3752561
zero-mean: Mean absolute difference: 1.513723
unit-variance: Mean relative difference: 2.542441
uncorrelated: Mean absolute difference: 0.3752561
*** caught segfault ***
address 0x1, cause 'invalid permissions'
Traceback:
1: eigen(x)
2: FUN(array(newX[, i], d.call, dn.call), ...)
3: apply(spec.Series, 1, function(x) eigen(x)$values)
4: eval(code, test_env)
5: eval(code, test_env)
6: withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt)
7: doTryCatch(return(expr), name, parentenv, handler)
8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
9: tryCatchList(expr, classes, parentenv, handlers)
10: tryCatch(withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt), error = handle_fatal)
11: doWithOneRestart(return(expr), restart)
12: withOneRestart(expr, restarts[[1L]])
13: withRestarts(tryCatch(withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt), error = handle_fatal), end_test = function() { })
14: test_code(code, parent.frame())
15: test_that("mvspectrum is positive semi-definite for every frequency", { lambdas <- apply(spec.Series, 1, function(x) eigen(x)$values) lambdas.flat <- c(lambdas) expect_equal(Im(lambdas.flat), rep(0, length(lambdas.flat))) lambdas.flat <- Re(lambdas.flat) lambdas.pos <- (round(lambdas.flat, 4) >= 0) expect_true(all(lambdas.pos), info = paste0(test.msg, ";\n ", sum(!lambdas.pos), " are negative")) })
16: eval(code, test_env)
17: eval(code, test_env)
18: withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt)
19: doTryCatch(return(expr), name, parentenv, handler)
20: tryCatchOne(expr, names, parentenv, handlers[[1L]])
21: tryCatchList(expr, classes, parentenv, handlers)
22: tryCatch(withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt), error = handle_fatal)
23: doWithOneRestart(return(expr), restart)
24: withOneRestart(expr, restarts[[1L]])
25: withRestarts(tryCatch(withCallingHandlers({ eval(code, test_env) new_expectations <- the$test_expectations > starting_expectations if (snapshot_skipped) { skip("On CRAN") } else if (!new_expectations && skip_on_empty) { skip_empty() }}, expectation = handle_expectation, packageNotFoundError = function(e) { if (on_cran()) { skip(paste0("{", e$package, "} is not installed.")) }}, snapshot_on_cran = function(cnd) { snapshot_skipped <<- TRUE invokeRestart("muffle_cran_snapshot")}, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error, interrupt = handle_interrupt), error = handle_fatal), end_test = function() { })
26: test_code(code = exprs, env = env, reporter = get_reporter() %||% StopReporter$new())
27: source_file(path, env = env(env), desc = desc, shuffle = shuffle, error_call = error_call)
28: FUN(X[[i]], ...)
29: lapply(test_paths, test_one_file, env = env, desc = desc, shuffle = shuffle, error_call = error_call)
30: doTryCatch(return(expr), name, parentenv, handler)
31: tryCatchOne(expr, names, parentenv, handlers[[1L]])
32: tryCatchList(expr, classes, parentenv, handlers)
33: tryCatch(code, testthat_abort_reporter = function(cnd) { cat(conditionMessage(cnd), "\n") NULL})
34: with_reporter(reporters$multi, lapply(test_paths, test_one_file, env = env, desc = desc, shuffle = shuffle, error_call = error_call))
35: test_files_serial(test_dir = test_dir, test_package = test_package, test_paths = test_paths, load_helpers = load_helpers, reporter = reporter, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, desc = desc, load_package = load_package, shuffle = shuffle, error_call = error_call)
36: test_files(test_dir = path, test_paths = test_paths, test_package = package, reporter = reporter, load_helpers = load_helpers, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, load_package = load_package, parallel = parallel, shuffle = shuffle)
37: test_dir("testthat", package = package, reporter = reporter, ..., load_package = "installed")
38: test_check("ForeCA")
An irrecoverable exception occurred. R is aborting now ...
Flavor: r-devel-macos-arm64