CRAN Package Check Results for Package expm

Last updated on 2017-12-15 04:47:15 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.999-2 5.54 37.25 42.79 FAIL
r-devel-linux-x86_64-debian-gcc 0.999-2 5.35 67.41 72.76 OK
r-devel-linux-x86_64-fedora-clang 0.999-2 117.17 OK
r-devel-linux-x86_64-fedora-gcc 0.999-2 114.99 OK
r-devel-windows-ix86+x86_64 0.999-2 28.00 203.00 231.00 OK
r-patched-linux-x86_64 0.999-2 5.92 90.15 96.07 OK
r-patched-solaris-x86 0.999-2 171.40 ERROR
r-release-linux-x86_64 0.999-2 5.86 90.41 96.27 OK
r-release-windows-ix86+x86_64 0.999-2 20.00 190.00 210.00 OK
r-release-osx-x86_64 0.999-2 NOTE
r-oldrel-windows-ix86+x86_64 0.999-2 19.00 161.00 180.00 OK
r-oldrel-osx-x86_64 0.999-2 OK

Additional issues

rchk

Check Details

Version: 0.999-2
Check: pragmas in C/C++ headers and code
Result: FAIL
    
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.999-2
Check: examples
Result: ERROR
    Running examples in ‘expm-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: logm
    > ### Title: Matrix Logarithm
    > ### Aliases: logm
    > ### Keywords: algebra math
    >
    > ### ** Examples
    >
    > m <- diag(2)
    > logm(m)
     [,1] [,2]
    [1,] 0 0
    [2,] 0 0
    > expm(logm(m))
     [,1] [,2]
    [1,] 1 0
    [2,] 0 1
    >
    > ## Here, logm() is barely defined, and Higham08 has needed an amendment
    > ## in order for not to loop forever:
    > D0 <- diag(x=c(1, 0.))
    > (L. <- logm(D0))
    Warning in logm.Higham08(x) :
     Inverse scaling did not work (t = 1).
    The matrix logarithm may not exist for this matrix.Setting m = 3 arbitrarily.
     [,1] [,2]
    [1,] 0 0
    [2,] 0 -9576994
    > stopifnot( all.equal(D0, expm(L.)) )
    >
    > ## A matrix for which clearly no logm(.) exists:
    > (m <- cbind(1:2, 1))
     [,1] [,2]
    [1,] 1 1
    [2,] 2 1
    > (l.m <- logm(m)) ## all NA
    Warning in sqrt(S[ij, ij]) : NaNs produced
    Error in solve.default(X[ii, ii] + X[ij, ij], S[ii, ij] - sumU) :
     system is computationally singular: reciprocal condition number = 0
    Calls: logm ... logm.Higham08 -> rootS -> solve -> solve -> solve.default
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.999-2
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘Rmpfr’
Flavor: r-release-osx-x86_64