CRAN Package Check Results for Package expm

Last updated on 2017-03-29 18:47:05.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.999-1 4.66 56.85 61.51 NOTE
r-devel-linux-x86_64-debian-gcc 0.999-1 4.35 55.06 59.42 NOTE
r-devel-linux-x86_64-fedora-clang 0.999-2 76.22 OK --no-stop-on-test-error
r-devel-linux-x86_64-fedora-gcc 0.999-2 73.46 OK --no-stop-on-test-error
r-devel-macos-x86_64-clang 0.999-1 99.69 NOTE --no-stop-on-test-error
r-devel-windows-ix86+x86_64 0.999-1 52.00 149.00 201.00 OK
r-patched-linux-x86_64 0.999-1 4.30 54.69 58.99 NOTE
r-patched-solaris-sparc 0.999-2 773.50 OK
r-patched-solaris-x86 0.999-2 154.20 ERROR
r-release-linux-x86_64 0.999-1 3.90 47.19 51.08 OK
r-release-osx-x86_64-mavericks 0.999-1 OK
r-release-windows-ix86+x86_64 0.999-1 28.00 166.00 194.00 OK
r-oldrel-windows-ix86+x86_64 0.999-1 28.00 164.00 192.00 OK

Check Details

Version: 0.999-1
Check: compiled code
Result: NOTE
    File ‘expm/libs/expm.so’:
     Found no call to: ‘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-patched-linux-x86_64

Version: 0.999-1
Flags: --no-stop-on-test-error
Check: compiled code
Result: NOTE
    File ‘expm/libs/expm.so’:
     Found no call to: ‘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.
Flavor: r-devel-macos-x86_64-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