CRAN Package Check Results for Package morpheus

Last updated on 2019-04-13 01:58:11 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2-0 3.49 48.68 52.17 OK
r-devel-linux-x86_64-debian-gcc 0.2-0 2.66 37.98 40.64 OK
r-devel-linux-x86_64-fedora-clang 0.2-0 64.96 OK
r-devel-linux-x86_64-fedora-gcc 0.2-0 64.09 OK
r-devel-windows-ix86+x86_64 0.2-0 15.00 87.00 102.00 OK
r-patched-linux-x86_64 0.2-0 3.33 49.91 53.24 OK
r-patched-solaris-x86 0.2-0 96.60 OK
r-release-linux-x86_64 0.2-0 3.56 48.01 51.57 OK
r-release-windows-ix86+x86_64 0.2-0 8.00 126.00 134.00 ERROR
r-release-osx-x86_64 0.2-0 OK
r-oldrel-windows-ix86+x86_64 0.2-0 8.00 77.00 85.00 OK
r-oldrel-osx-x86_64 0.2-0 OK

Check Details

Version: 0.2-0
Check: running tests for arch ‘x64’
Result: ERROR
     Running 'testthat.R' [21s]
    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.99604969 0.006501761
     [2,] 0.08879764 0.999978863
     Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
     0.09274795
    
    
     probit :
     Reference normalized matrix:
     [,1] [,2]
     [1,] 1 0
     [2,] 0 1
     Estimated normalized matrix:
     [,1] [,2]
     [1,] 0.999950113 0.07961072
     [2,] -0.009988611 0.99682603
     Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
     0.08278469
    
    
     logit :
     Reference normalized matrix:
     [,1] [,2]
     [1,] 0.4472136 0.9486833
     [2,] -0.8944272 0.3162278
     Estimated normalized matrix:
     [,1] [,2]
     [1,] 0.4095975 0.9395391
     [2,] -0.9122663 0.3424416
     Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
     0.05545518
    
    
     probit :
     Reference normalized matrix:
     [,1] [,2]
     [1,] 0.4472136 0.9486833
     [2,] -0.8944272 0.3162278
     Estimated normalized matrix:
     [,1] [,2]
     [1,] 0.4355864 0.9546131
     [2,] -0.9001469 0.2978488
     Difference norm (Matrix norm ||.||_1, max. abs. sum on a column)
     0.02430876
     -- 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.00331 - 0.00145 == 0.00186
    
     == testthat results ===========================================================
     OK: 311 SKIPPED: 0 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-windows-ix86+x86_64