CRAN Package Check Results for Package Rlibeemd

Last updated on 2017-07-26 01:56:37.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.7 24.78 23.49 48.27 NOTE
r-devel-linux-x86_64-debian-gcc 1.3.7 24.18 22.56 46.75 NOTE
r-devel-linux-x86_64-fedora-clang 1.3.7 84.32 NOTE
r-devel-linux-x86_64-fedora-gcc 1.3.7 77.41 NOTE
r-devel-windows-ix86+x86_64 1.3.7 105.00 55.00 160.00 OK
r-patched-linux-x86_64 1.3.7 23.32 23.16 46.49 NOTE
r-patched-solaris-x86 1.3.7 88.10 ERROR
r-release-linux-x86_64 1.3.7 23.38 23.00 46.38 NOTE
r-release-windows-ix86+x86_64 1.3.7 79.00 71.00 150.00 OK
r-release-osx-x86_64 1.3.7 OK
r-oldrel-windows-ix86+x86_64 1.3.7 79.00 48.00 127.00 OK
r-oldrel-osx-x86_64 1.3.7 OK

Check Details

Version: 1.3.7
Check: compiled code
Result: NOTE
    File ‘Rlibeemd/libs/Rlibeemd.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    It is good practice to register native routines and to disable symbol
    search.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
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-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.3.7
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.3.7
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
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     Error reported by gsl_linalg_solve_tridiag: tried to divide by zero
     1. 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
     2. 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
     3. 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
     ...
    
    
     4. 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.8)
     [1] 6.73 - 4.40 == 2.33
     [2] 7.57 - 4.19 == 3.38
     [3] 8.44 - 4.06 == 4.38
     [4] 9.34 - 3.65 == 5.69
     [5] 10.27 - 5.73 == 4.55
     [6] 11.24 - 5.56 == 5.67
     [7] 12.23 - 6.02 == 6.21
     [8] 13.25 - 6.95 == 6.30
     [9] 14.30 - 7.36 == 6.94
     ...
    
    
     5. 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
    
    
     6. 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
    
    
     7. 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
    
    
     8. 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
    
    
     9. 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
     ...
    
    
     10. 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: 261 SKIPPED: 0 FAILED: 10
     1. Failure: residual is close to the disturbed signal (@test-ceemdan.R#26)
     2. Failure: different seeds give different results (@test-ceemdan.R#31)
     3. Failure: sum of imfs equals to original series (@test-ceemdan.R#58)
     4. Failure: residual is close to the disturbed signal (@test-eemd.R#28)
     5. Failure: identical seeds give equal results (@test-eemd.R#39)
     6. Failure: EMD returns the original series for short series (@test-emd.R#40)
     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: sum of imfs equals to original series (@test-emd.R#54)
     10. Failure: num_imfs = 1 returns residual which equals data (@test-emd.R#67)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86