CRAN Package Check Results for Package MatrixModels

Last updated on 2019-03-23 14:47:22 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4-1 9.84 59.82 69.66 OK
r-devel-linux-x86_64-debian-gcc 0.4-1 9.03 48.57 57.60 OK
r-devel-linux-x86_64-fedora-clang 0.4-1 87.04 OK
r-devel-linux-x86_64-fedora-gcc 0.4-1 82.95 OK
r-devel-windows-ix86+x86_64 0.4-1 23.00 70.00 93.00 OK
r-patched-linux-x86_64 0.4-1 7.64 56.40 64.04 OK
r-patched-solaris-x86 0.4-1 123.90 OK
r-release-linux-x86_64 0.4-1 0.29 2.01 2.30 ERROR
r-release-windows-ix86+x86_64 0.4-1 12.00 71.00 83.00 OK
r-release-osx-x86_64 0.4-1 OK
r-oldrel-windows-ix86+x86_64 0.4-1 15.00 86.00 101.00 ERROR
r-oldrel-osx-x86_64 0.4-1 OK

Check Details

Version: 0.4-1
Check: whether package can be installed
Result: ERROR
    Installation failed.
Flavor: r-release-linux-x86_64

Version: 0.4-1
Check: examples
Result: ERROR
    Running examples in 'MatrixModels-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: lm.fit.sparse
    > ### Title: Fitter Function for Sparse Linear Models
    > ### Aliases: lm.fit.sparse
    > ### Keywords: regression array
    >
    > ### ** Examples
    >
    > dd <- expand.grid(a = as.factor(1:3),
    + b = as.factor(1:4),
    + c = as.factor(1:2),
    + d= as.factor(1:8))
    > n <- nrow(dd <- dd[rep(seq_len(nrow(dd)), each = 10), ])
    > set.seed(17)
    > dM <- cbind(dd, x = round(rnorm(n), 1))
    > ## randomly drop some
    > n <- nrow(dM <- dM[- sample(n, 50),])
    > dM <- within(dM, { A <- c(2,5,10)[a]
    + B <- c(-10,-1, 3:4)[b]
    + C <- c(-8,8)[c]
    + D <- c(10*(-5:-2), 20*c(0, 3:5))[d]
    + Y <- A + B + A*B + C + D + A*D + C*x + rnorm(n)/10
    + wts <- sample(1:10, n, replace=TRUE)
    + rm(A,B,C,D)
    + })
    > str(dM) # 1870 x 7
    'data.frame': 1870 obs. of 7 variables:
     $ a : Factor w/ 3 levels "1","2","3": 1 1 1 1 1 1 1 1 1 2 ...
     $ b : Factor w/ 4 levels "1","2","3","4": 1 1 1 1 1 1 1 1 1 1 ...
     $ c : Factor w/ 2 levels "1","2": 1 1 1 1 1 1 1 1 1 1 ...
     $ d : Factor w/ 8 levels "1","2","3","4",..: 1 1 1 1 1 1 1 1 1 1 ...
     $ x : num -1 -0.1 -0.2 -0.8 0.8 -0.2 1 0.3 0.4 1.2 ...
     $ wts: int 7 6 3 4 6 10 3 10 3 2 ...
     $ Y : num -178 -185 -185 -180 -192 ...
    >
    > X <- Matrix::sparse.model.matrix( ~ (a+b+c+d)^2 + c*x, data = dM)
    > dim(X) # 1870 x 69
    [1] 1870 69
    > X[1:10, 1:20]
    10 x 20 sparse Matrix of class "dgCMatrix"
    Error in isFALSE(suppRows) : could not find function "isFALSE"
    Calls: <Anonymous> -> <Anonymous> -> printSpMatrix2
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64