CRAN Package Check Results for Package starnet

Last updated on 2020-10-18 07:47:46 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.3 5.82 106.73 112.55 OK
r-devel-linux-x86_64-debian-gcc 0.0.3 4.66 80.47 85.13 OK
r-devel-linux-x86_64-fedora-clang 0.0.3 141.72 OK
r-devel-linux-x86_64-fedora-gcc 0.0.3 140.17 OK
r-devel-windows-ix86+x86_64 0.0.3 10.00 99.00 109.00 OK
r-patched-linux-x86_64 0.0.3 5.89 99.72 105.61 OK
r-patched-solaris-x86 0.0.3 111.00 ERROR
r-release-linux-x86_64 0.0.3 6.50 99.79 106.29 OK
r-release-macos-x86_64 0.0.3 OK
r-release-windows-ix86+x86_64 0.0.3 11.00 102.00 113.00 OK
r-oldrel-macos-x86_64 0.0.3 OK
r-oldrel-windows-ix86+x86_64 0.0.3 8.00 129.00 137.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