CRAN Package Check Results for Package morpheus

Last updated on 2019-09-14 22:48:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2-0 3.99 50.10 54.09 OK
r-devel-linux-x86_64-debian-gcc 0.2-0 3.02 39.76 42.78 OK
r-devel-linux-x86_64-fedora-clang 0.2-0 61.47 OK
r-devel-linux-x86_64-fedora-gcc 0.2-0 68.75 OK
r-devel-windows-ix86+x86_64 0.2-0 18.00 83.00 101.00 OK
r-patched-linux-x86_64 0.2-0 3.13 50.97 54.10 OK
r-patched-solaris-x86 0.2-0 99.10 OK
r-release-linux-x86_64 0.2-0 2.92 51.05 53.97 ERROR
r-release-windows-ix86+x86_64 0.2-0 11.00 116.00 127.00 OK
r-release-osx-x86_64 0.2-0 OK
r-oldrel-windows-ix86+x86_64 0.2-0 14.00 78.00 92.00 OK
r-oldrel-osx-x86_64 0.2-0 OK

Check Details

Version: 0.2-0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [19s/22s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     >
     > # Locally:
     > #library(devtools)
     > #load_all("../")
     >
     > # With R CMD check:
     > library(morpheus)
     >
     > test_check("morpheus")
    
    
     logit :
     Reference normalized matrix:
     [,1] [,2]
     [1,] 1 0
     [2,] 0 1
     Estimated normalized matrix:
     [,1] [,2]
     [1,] 0.999999497 0.0795744
     [2,] 0.001002711 0.9968289
     Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
     0.08274547
    
    
     probit :
     Reference normalized matrix:
     [,1] [,2]
     [1,] 1 0
     [2,] 0 1
     Estimated normalized matrix:
     [,1] [,2]
     [1,] 0.99850492 -0.0007066819
     [2,] -0.05466182 0.9999997503
     Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
     0.0561569
    
    
     logit :
     Reference normalized matrix:
     [,1] [,2]
     [1,] 0.4472136 0.9486833
     [2,] -0.8944272 0.3162278
     Estimated normalized matrix:
     [,1] [,2]
     [1,] 0.4553477 0.9507195
     [2,] -0.8903137 0.3100523
     Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
     0.01224767
    
    
     probit :
     Reference normalized matrix:
     [,1] [,2]
     [1,] 0.4472136 0.9486833
     [2,] -0.8944272 0.3162278
     Estimated normalized matrix:
     [,1] [,2]
     [1,] 0.4772185 0.9453127
     [2,] -0.8787847 0.3261655
     Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
     0.04564739
     ── 1. Failure: naive computation provides the same result as vectorized computat
     op$grad_f(x)[var] not equal to (op$f(x + dir_h) - op$f(x))/h.
     1/1 mismatches
     [1] -0.0844 - -0.144 == 0.0598
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 309 | SKIPPED: 0 | WARNINGS: 2 | FAILED: 1 ]
     1. Failure: naive computation provides the same result as vectorized computations (@test-optimParams.R#83)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64