CRAN Package Check Results for Package MatrixModels

Last updated on 2019-03-14 00:46:44 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4-1 9.69 59.45 69.14 OK
r-devel-linux-x86_64-debian-gcc 0.4-1 8.38 47.46 55.84 OK
r-devel-linux-x86_64-fedora-clang 0.4-1 85.75 OK
r-devel-linux-x86_64-fedora-gcc 0.4-1 82.35 OK
r-devel-windows-ix86+x86_64 0.4-1 23.00 88.00 111.00 OK
r-patched-linux-x86_64 0.4-1 8.28 58.71 66.99 OK
r-patched-solaris-x86 0.4-1 132.40 OK
r-release-linux-x86_64 OK
r-release-windows-ix86+x86_64 0.4-1 17.00 84.00 101.00 OK
r-release-osx-x86_64 0.4-1 OK
r-oldrel-windows-ix86+x86_64 0.4-1 14.00 87.00 101.00 ERROR
r-oldrel-osx-x86_64 0.4-1 OK

Check Details

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