CRAN Package Check Results for Package sparsesvd

Last updated on 2017-07-27 02:48:05.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1-1 3.69 36.67 40.36 NOTE
r-devel-linux-x86_64-debian-gcc 0.1-1 3.68 36.47 40.15 NOTE
r-devel-linux-x86_64-fedora-clang 0.1-1 81.66 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1-1 95.55 NOTE
r-devel-windows-ix86+x86_64 0.1-1 20.00 116.00 136.00 OK
r-patched-linux-x86_64 0.1-1 3.74 34.97 38.71 NOTE
r-patched-solaris-x86 0.1-1 130.60 ERROR
r-release-linux-x86_64 0.1-1 3.78 38.81 42.59 NOTE
r-release-windows-ix86+x86_64 0.1-1 22.00 97.00 119.00 OK
r-release-osx-x86_64 0.1-1 OK
r-oldrel-windows-ix86+x86_64 0.1-1 14.00 76.00 90.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’ [7s/16s]
     Running ‘iris.R’ [5s/15s]
    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