CRAN Package Check Results for Package sparsesvd

Last updated on 2017-11-21 06:48:14 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1-1 3.29 28.92 32.21 NOTE
r-devel-linux-x86_64-debian-gcc 0.1-1 4.22 29.64 33.85 NOTE
r-devel-linux-x86_64-fedora-clang 0.1-1 57.98 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1-1 110.75 NOTE
r-devel-windows-ix86+x86_64 0.1-1 21.00 78.00 99.00 OK
r-patched-linux-x86_64 0.1-1 3.94 31.00 34.94 NOTE
r-patched-solaris-x86 0.1-1 126.80 ERROR
r-release-linux-x86_64 0.1-1 4.34 31.83 36.17 NOTE
r-release-windows-ix86+x86_64 0.1-1 16.00 70.00 86.00 OK
r-release-osx-x86_64 0.1-1 OK
r-oldrel-windows-ix86+x86_64 0.1-1 12.00 84.00 96.00 OK
r-oldrel-osx-x86_64 0.1-1 OK

Additional issues

clang-UBSAN gcc-UBSAN

Check Details

Version: 0.1-1
Check: compiled code
Result: NOTE
    File ‘sparsesvd/libs/sparsesvd.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: 0.1-1
Check: examples
Result: ERROR
    Running examples in ‘sparsesvd-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: sparsesvd
    > ### Title: Singular Value Decomposition of a Sparse Matrix.
    > ### Aliases: sparsesvd
    >
    > ### ** Examples
    >
    > M <- rbind(
    + c(20, 10, 15, 0, 2),
    + c(10, 5, 8, 1, 0),
    + c( 0, 1, 2, 6, 3),
    + c( 1, 0, 0, 10, 5))
    > M <- Matrix::Matrix(M, sparse=TRUE)
    > print(M)
    4 x 5 sparse Matrix of class "dgCMatrix"
    
    [1,] 20 10 15 . 2
    [2,] 10 5 8 1 .
    [3,] . 1 2 6 3
    [4,] 1 . . 10 5
    >
    > res <- sparsesvd(M, rank=2L) # compute first 2 singular components
    
     *** caught segfault ***
    address 4, cause 'memory not mapped'
    
    Traceback:
     1: .Call(svdLAS2_, dim(M), M@i, M@p, M@x, as.integer(rank), as.double(tol * c(-1, 1)), as.double(kappa))
     2: sparsesvd(M, rank = 2L)
    An irrecoverable exception occurred. R is aborting now ...
Flavor: r-patched-solaris-x86

Version: 0.1-1
Check: tests
Result: ERROR
     Running ‘formats.R’ [5s/15s]
     Running ‘iris.R’ [5s/16s]
    Running the tests in ‘tests/formats.R’ failed.
    Complete output:
     > ## any sparse matrix format that inherits from dMatrix should work
     > library(sparsesvd)
     > library(Matrix)
     >
     > M <- rbind(
     + c(20, 10, 15, 0, 2),
     + c(10, 5, 8, 1, 0),
     + c( 0, 1, 2, 6, 3),
     + c( 1, 0, 0, 10, 5))
     >
     > res1 <- sparsesvd(as(M, "dgCMatrix")) # standard format (column-compressed)
    
     *** caught segfault ***
     address 4, cause 'memory not mapped'
    
     Traceback:
     1: .Call(svdLAS2_, dim(M), M@i, M@p, M@x, as.integer(rank), as.double(tol * c(-1, 1)), as.double(kappa))
     2: sparsesvd(as(M, "dgCMatrix"))
     An irrecoverable exception occurred. R is aborting now ...
    Running the tests in ‘tests/iris.R’ failed.
    Complete output:
     > ## compute PCA of iris data set with svd() and sparsesvd()
     > library(sparsesvd)
     > library(Matrix)
     >
     > data(iris)
     > M <- scale(as.matrix(iris[, 1:4]), scale=FALSE)
     > Ms <- Matrix(M) # not sparse, but a dMatrix
     >
     > res1 <- svd(M)
     > res2 <- sparsesvd(Ms)
    
     *** caught segfault ***
     address 4, cause 'memory not mapped'
    
     Traceback:
     1: .Call(svdLAS2_, dim(M), M@i, M@p, M@x, as.integer(rank), as.double(tol * c(-1, 1)), as.double(kappa))
     2: sparsesvd(Ms)
     An irrecoverable exception occurred. R is aborting now ...
Flavor: r-patched-solaris-x86