CRAN Package Check Results for Package Rlibeemd

Last updated on 2018-06-20 01:50:29 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.4.0 48.46 30.36 78.82 OK
r-devel-linux-x86_64-debian-gcc 1.4.0 34.42 23.84 58.26 OK
r-devel-linux-x86_64-fedora-clang 1.4.0 103.17 OK
r-devel-linux-x86_64-fedora-gcc 1.4.0 84.13 OK
r-devel-windows-ix86+x86_64 1.4.0 123.00 62.00 185.00 OK
r-patched-linux-x86_64 1.4.0 43.59 28.38 71.97 OK
r-patched-solaris-x86 1.4.0 102.00 ERROR
r-release-linux-x86_64 1.4.0 44.70 26.98 71.68 OK
r-release-windows-ix86+x86_64 1.4.0 93.00 60.00 153.00 OK
r-release-osx-x86_64 1.4.0 OK
r-oldrel-windows-ix86+x86_64 1.4.0 121.00 57.00 178.00 OK
r-oldrel-osx-x86_64 1.4.0 OK

Check Details

Version: 1.4.0
Check: examples
Result: ERROR
    Running examples in ‘Rlibeemd-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: ceemdan
    > ### Title: CEEMDAN decomposition
    > ### Aliases: ceemdan
    >
    > ### ** Examples
    >
    > imfs <- ceemdan(UKgas, threads = 1)
    Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
    > # trend extraction
    > ts.plot(UKgas, imfs[, ncol(imfs)], col = 1:2,
    + main = "Quarterly UK gas consumption", ylab = "Million therms")
    >
    > # CEEMDAN for logarithmic demand, note that increasing ensemble size
    > # will produce smoother results
    > imfs <- ceemdan(log(UKgas), ensemble_size = 50, threads = 1)
    Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
    > plot(ts.union("log(obs)" = log(UKgas), Seasonal = imfs[, 1],
    + Irregular = rowSums(imfs[, 2:5]), Trend = imfs[, 6]),
    + main = "Quarterly UK gas consumption")
    Warning in min(x) : no non-missing arguments to min; returning Inf
    Warning in max(x) : no non-missing arguments to max; returning -Inf
    Error in plot.window(...) : need finite 'ylim' values
    Calls: plot ... plotts -> plot.default -> localWindow -> plot.window
    Execution halted
Flavor: r-patched-solaris-x86

Version: 1.4.0
Check: tests
Result: ERROR
     Running ‘test-all.R’
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > library(testthat)
     > test_check("Rlibeemd")
     Loading required package: Rlibeemd
     ── 1. Failure: series full of zeroes should produce only zeroes (@test-ceemdan.R
     all(imfs == 0) isn't true.
    
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     ── 2. Failure: residual is close to the disturbed signal (@test-ceemdan.R#26) ─
     residual[11:90] not equal to x[11:90].
     80/80 mismatches (average diff: NaN)
     [1] NaN - 4.40 == NaN
     [2] NaN - 4.19 == NaN
     [3] NaN - 4.06 == NaN
     [4] NaN - 3.65 == NaN
     [5] NaN - 5.73 == NaN
     [6] NaN - 5.56 == NaN
     [7] NaN - 6.02 == NaN
     [8] NaN - 6.95 == NaN
     [9] NaN - 7.36 == NaN
     ...
    
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     ── 3. Failure: different seeds give different results (@test-ceemdan.R#31) ────
     isTRUE(...) isn't false.
    
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     ── 4. Failure: sum of imfs equals to original series (@test-ceemdan.R#58) ─────
     rowSums(ceemdan(x, threads = 1)) not equal to `x`.
     64/64 mismatches (average diff: NaN)
     [1] NaN - -1.174 == NaN
     [2] NaN - -0.156 == NaN
     [3] NaN - -1.919 == NaN
     [4] NaN - -0.195 == NaN
     [5] NaN - -2.592 == NaN
     [6] NaN - 1.314 == NaN
     [7] NaN - -0.636 == NaN
     [8] NaN - -0.430 == NaN
     [9] NaN - -0.169 == NaN
     ...
    
     ── 5. Failure: residual is close to the disturbed signal (@test-eemd.R#28) ────
     residual[11:90] not equal to x[11:90].
     80/80 mismatches (average diff: 35.5)
     [1] 6.29 - 4.40 == 1.89
     [2] 7.14 - 4.19 == 2.95
     [3] 8.02 - 4.06 == 3.96
     [4] 8.94 - 3.65 == 5.28
     [5] 9.88 - 5.73 == 4.15
     [6] 10.85 - 5.56 == 5.28
     [7] 11.85 - 6.02 == 5.83
     [8] 12.88 - 6.95 == 5.93
     [9] 13.94 - 7.36 == 6.58
     ...
    
     ── 6. Failure: identical seeds give equal results (@test-eemd.R#39) ───────────
     eemd(x, rng_seed = 1, threads = 1) not identical to eemd(x, rng_seed = 1, threads = 1).
     Objects equal but not identical
    
     ── 7. Failure: EMD returns the original series for short series (@test-emd.R#40)
     `x` not identical to c(imfs).
     1/1 mismatches
     [1] -0.581 - -1.16 == 0.581
    
     ── 8. Failure: EMD returns the original series for short series (@test-emd.R#40)
     `x` not identical to c(imfs).
     2/2 mismatches (average diff: 0.835)
     [1] -1.001 - -2.00 == 1.001
     [2] -0.668 - -1.34 == 0.668
    
     ── 9. Failure: EMD returns the original series for short series (@test-emd.R#40)
     `x` not identical to c(imfs).
     3/3 mismatches (average diff: 0.795)
     [1] 0.945 - 1.890 == -0.945
     [2] 0.434 - 0.867 == -0.434
     [3] 1.005 - 2.010 == -1.005
    
     ── 10. Failure: sum of imfs equals to original series (@test-emd.R#54) ────────
     rowSums(emd(x)) not equal to `x`.
     64/64 mismatches (average diff: 0.856)
     [1] 1.628 - 0.8140 == 0.8140
     [2] 1.831 - 0.9153 == 0.9153
     [3] -0.344 - -0.1719 == -0.1719
     [4] -4.804 - -2.4022 == -2.4022
     [5] 1.592 - 0.7959 == 0.7959
     [6] 4.338 - 2.1691 == 2.1691
     [7] 0.117 - 0.0584 == 0.0584
     [8] -2.710 - -1.3549 == -1.3549
     [9] -0.735 - -0.3676 == -0.3676
     ...
    
     ── 11. Failure: num_imfs = 1 returns residual which equals data (@test-emd.R#67)
     c(imfs) not identical to `x`.
     64/64 mismatches (average diff: 0.784)
     [1] 3.422 - 1.711 == 1.711
     [2] -0.789 - -0.394 == -0.394
     [3] -4.643 - -2.321 == -2.321
     [4] 2.728 - 1.364 == 1.364
     [5] 2.264 - 1.132 == 1.132
     [6] -1.549 - -0.774 == -0.774
     [7] -2.821 - -1.410 == -1.410
     [8] -3.669 - -1.835 == -1.835
     [9] -0.538 - -0.269 == -0.269
     ...
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 289 SKIPPED: 0 FAILED: 11
     1. Failure: series full of zeroes should produce only zeroes (@test-ceemdan.R#18)
     2. Failure: residual is close to the disturbed signal (@test-ceemdan.R#26)
     3. Failure: different seeds give different results (@test-ceemdan.R#31)
     4. Failure: sum of imfs equals to original series (@test-ceemdan.R#58)
     5. Failure: residual is close to the disturbed signal (@test-eemd.R#28)
     6. Failure: identical seeds give equal results (@test-eemd.R#39)
     7. Failure: EMD returns the original series for short series (@test-emd.R#40)
     8. Failure: EMD returns the original series for short series (@test-emd.R#40)
     9. Failure: EMD returns the original series for short series (@test-emd.R#40)
     1. ...
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86