CRAN Package Check Results for Package glmnetUtils

Last updated on 2018-02-24 14:47:58 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1 3.54 101.00 104.54 OK
r-devel-linux-x86_64-debian-gcc 1.1 3.69 76.47 80.16 OK
r-devel-linux-x86_64-fedora-clang 1.1 123.01 OK
r-devel-linux-x86_64-fedora-gcc 1.1 122.28 OK
r-devel-windows-ix86+x86_64 1.1 12.00 157.00 169.00 OK
r-patched-linux-x86_64 1.1 3.64 109.37 113.01 OK
r-patched-solaris-x86 1.1 235.50 ERROR
r-release-linux-x86_64 1.1 3.75 108.14 111.89 OK
r-release-windows-ix86+x86_64 1.1 11.00 169.00 180.00 OK
r-release-osx-x86_64 1.1 OK
r-oldrel-windows-ix86+x86_64 1.1 7.00 124.00 131.00 OK
r-oldrel-osx-x86_64 1.1 OK

Check Details

Version: 1.1
Check: examples
Result: ERROR
    Running examples in ‘glmnetUtils-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: cv.glmnet
    > ### Title: Formula interface for elastic net cross-validation with
    > ### cv.glmnet
    > ### Aliases: cv.glmnet cv.glmnet.default cv.glmnet.formula
    > ### predict.cv.glmnet.formula coef.cv.glmnet.formula
    > ### print.cv.glmnet.formula
    >
    > ### ** Examples
    >
    > cv.glmnet(mpg ~ ., data=mtcars)
    Call:
    cv.glmnet.formula(formula = mpg ~ ., data = mtcars)
    
    Model fitting options:
     Sparse model matrix: FALSE
     Use model.frame: FALSE
     Number of crossvalidation folds: 10
     Alpha: 1
     Deviance-minimizing lambda: 0.7295713 (+1 SE): 1.535678
    >
    > cv.glmnet(Species ~ ., data=iris, family="multinomial")
    Error in apply(nz, 1, median) : dim(X) must have a positive length
    Calls: cv.glmnet -> cv.glmnet.formula -> <Anonymous> -> apply
    Execution halted
Flavor: r-patched-solaris-x86

Version: 1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [36s/38s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > Sys.setenv(R_TESTS="") # needed for cluster creation to work
     >
     > library(testthat)
     > library(glmnetUtils)
     >
     > test_check("glmnetUtils")
     ── 1. Error: parallel foreach works (@test2_cv_glmnet.R#72) ───────────────────
     dim(X) must have a positive length
     1: cv.glmnet(x, y, family = "multinomial", nfolds = 5, parallel = TRUE) at testthat/test2_cv_glmnet.R:72
     2: cv.glmnet.default(x, y, family = "multinomial", nfolds = 5, parallel = TRUE)
     3: glmnet::cv.glmnet(x, y, ...)
     4: apply(nz, 1, median)
     5: stop("dim(X) must have a positive length")
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 118 SKIPPED: 1 FAILED: 1
     1. Error: parallel foreach works (@test2_cv_glmnet.R#72)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86