CRAN Package Check Results for Package starnet

Last updated on 2020-07-02 02:10:02 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.3 6.57 102.89 109.46 OK
r-devel-linux-x86_64-debian-gcc 0.0.3 5.04 77.68 82.72 OK
r-devel-linux-x86_64-fedora-clang 0.0.3 136.06 OK
r-devel-linux-x86_64-fedora-gcc 0.0.3 138.27 OK
r-devel-windows-ix86+x86_64 0.0.3 18.00 111.00 129.00 OK
r-patched-linux-x86_64 0.0.3 6.41 102.09 108.50 OK
r-patched-solaris-x86 0.0.3 109.70 ERROR
r-release-linux-x86_64 0.0.3 5.91 100.65 106.56 OK
r-release-osx-x86_64 0.0.3 OK
r-release-windows-ix86+x86_64 0.0.3 12.00 104.00 116.00 OK
r-oldrel-osx-x86_64 0.0.3 OK
r-oldrel-windows-ix86+x86_64 0.0.3 37.00 139.00 176.00 OK

Check Details

Version: 0.0.3
Check: examples
Result: ERROR
    Running examples in ‘starnet-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: coef.starnet
    > ### Title: Extract Coefficients
    > ### Aliases: coef.starnet
    >
    > ### ** Examples
    >
    > set.seed(1)
    > n <- 50; p <- 100
    > y <- rnorm(n=n)
    > X <- matrix(rnorm(n*p),nrow=n,ncol=p)
    > object <- starnet(y=y,X=X)
    Error in approx(lambda, seq(lambda), sfrac) :
     need at least two non-NA values to interpolate
    Calls: starnet ... NextMethod -> predict.glmnet -> lambda.interp -> approx
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.0.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [10s/12s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(starnet)
     >
     > testthat::test_check(package="starnet",stop_on_warning=FALSE)
     ── 1. Error: (unknown) (@test.R#16) ───────────────────────────────────────────
     need at least two non-NA values to interpolate
     Backtrace:
     1. starnet::starnet(y = list$y, X = list$X, family = family, foldid = foldid)
     2. glmnet::cv.glmnet(...)
     3. glmnet:::cv.glmnet.raw(...)
     5. glmnet:::buildPredmat.default(...)
     9. glmnet::predict.glmnet(...)
     10. glmnet:::lambda.interp(lambda, s)
     11. stats::approx(lambda, seq(lambda), sfrac)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: (unknown) (@test.R#16)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86