Skip to content

starnet

Stacked Elastic Net

v1.0.0 · Jun 10, 2025 · GPL-3

Description

Implements stacked elastic net regression (Rauschenberger 2021 <doi:10.1093/bioinformatics/btaa535>). The elastic net generalises ridge and lasso regularisation (Zou 2005 <doi:10.1111/j.1467-9868.2005.00503.x>). Instead of fixing or tuning the mixing parameter alpha, we combine multiple alpha by stacked generalisation (Wolpert 1992 <doi:10.1016/S0893-6080(05)80023-1>).

Downloads

275

Last 30 days

15339th

704

Last 90 days

2.7K

Last year

Trend: +17.5% (30d vs prior 30d)

CRAN Check Status

10 ERROR
4 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang ERROR
r-devel-linux-x86_64-debian-gcc ERROR
r-devel-linux-x86_64-fedora-clang ERROR
r-devel-linux-x86_64-fedora-gcc ERROR
r-devel-macos-arm64 ERROR
r-devel-windows-x86_64 ERROR
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 ERROR
r-patched-linux-x86_64 ERROR
r-release-linux-x86_64 ERROR
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 ERROR
Check details (20 non-OK)
WARNING r-devel-linux-x86_64-debian-clang

dependencies in R code

Missing or unexported object: ‘CVXR::solve’
ERROR r-devel-linux-x86_64-debian-clang

tests

Running ‘testthat.R’ [9s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(starnet)
  > 
  > testthat::test_check(package="starnet",stop_on_warning=FALSE)
  Saving _problems/test-92.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test.R:92:5'): (code run outside of `test_that()`) ──────────────────
  Error: 'solve' is not an exported object from 'namespace:CVXR'
  Backtrace:
      ▆
   1. └─starnet:::.glm(y = list$y, X = list$X, family = family) at test.R:92:5
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  Error:
  ! Test failures.
  Execution halted
WARNING r-devel-linux-x86_64-debian-gcc

dependencies in R code

Missing or unexported object: ‘CVXR::solve’
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘testthat.R’ [6s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(starnet)
  > 
  > testthat::test_check(package="starnet",stop_on_warning=FALSE)
  Saving _problems/test-92.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test.R:92:5'): (code run outside of `test_that()`) ──────────────────
  Error: 'solve' is not an exported object from 'namespace:CVXR'
  Backtrace:
      ▆
   1. └─starnet:::.glm(y = list$y, X = list$X, family = family) at test.R:92:5
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  Error:
  ! Test failures.
  Execution halted
WARNING r-devel-linux-x86_64-fedora-clang

dependencies in R code

Missing or unexported object: ‘CVXR::solve’
ERROR r-devel-linux-x86_64-fedora-clang

tests

Running ‘testthat.R’ [15s/37s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(starnet)
  > 
  > testthat::test_check(package="starnet",stop_on_warning=FALSE)
  Saving _problems/test-92.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test.R:92:5'): (code run outside of `test_that()`) ──────────────────
  Error: 'solve' is not an exported object from 'namespace:CVXR'
  Backtrace:
      ▆
   1. └─starnet:::.glm(y = list$y, X = list$X, family = family) at test.R:92:5
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  Error:
  ! Test failures.
  Execution halted
WARNING r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Missing or unexported object: ‘CVXR::solve’
ERROR r-devel-linux-x86_64-fedora-gcc

tests

Running ‘testthat.R’ [15s/19s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(starnet)
  > 
  > testthat::test_check(package="starnet",stop_on_warning=FALSE)
  Saving _problems/test-92.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test.R:92:5'): (code run outside of `test_that()`) ──────────────────
  Error: 'solve' is not an exported object from 'namespace:CVXR'
  Backtrace:
      ▆
   1. └─starnet:::.glm(y = list$y, X = list$X, family = family) at test.R:92:5
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  Error:
  ! Test failures.
  Execution halted
WARNING r-devel-macos-arm64

dependencies in R code

Missing or unexported object: ‘CVXR::solve’
ERROR r-devel-macos-arm64

tests

Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(starnet)
  > 
  > testthat::test_check(package="starnet",stop_on_warning=FALSE)
  Saving _problems/test-92.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test.R:92:5'): (code run outside of `test_that()`) ──────────────────
  Error: 'solve' is not an exported object from 'namespace:CVXR'
  Backtrace:
      ▆
   1. └─starnet:::.glm(y = list$y, X = list$X, family = family) at test.R:92:5
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  Error:
  ! Test failures.
  Execution halted
WARNING r-devel-windows-x86_64

dependencies in R code

Missing or unexported object: 'CVXR::solve'
ERROR r-devel-windows-x86_64

tests

Running 'testthat.R' [8s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(starnet)
  > 
  > testthat::test_check(package="starnet",stop_on_warning=FALSE)
  Saving _problems/test-92.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test.R:92:5'): (code run outside of `test_that()`) ──────────────────
  Error: 'solve' is not an exported object from 'namespace:CVXR'
  Backtrace:
      ▆
   1. └─starnet:::.glm(y = list$y, X = list$X, family = family) at test.R:92:5
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  Error:
  ! Test failures.
  Execution halted
WARNING r-oldrel-windows-x86_64

dependencies in R code

Missing or unexported object: 'CVXR::solve'
ERROR r-oldrel-windows-x86_64

tests

Running 'testthat.R' [11s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(starnet)
  > 
  > testthat::test_check(package="starnet",stop_on_warning=FALSE)
  Saving _problems/test-92.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test.R:92:5'): (code run outside of `test_that()`) ──────────────────
  Error: 'solve' is not an exported object from 'namespace:CVXR'
  Backtrace:
      ▆
   1. └─starnet:::.glm(y = list$y, X = list$X, family = family) at test.R:92:5
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  Error:
  ! Test failures.
  Execution halted
WARNING r-patched-linux-x86_64

dependencies in R code

Missing or unexported object: ‘CVXR::solve’
ERROR r-patched-linux-x86_64

tests

Running ‘testthat.R’ [9s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(starnet)
  > 
  > testthat::test_check(package="starnet",stop_on_warning=FALSE)
  Saving _problems/test-92.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test.R:92:5'): (code run outside of `test_that()`) ──────────────────
  Error: 'solve' is not an exported object from 'namespace:CVXR'
  Backtrace:
      ▆
   1. └─starnet:::.glm(y = list$y, X = list$X, family = family) at test.R:92:5
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  Error:
  ! Test failures.
  Execution halted
WARNING r-release-linux-x86_64

dependencies in R code

Missing or unexported object: ‘CVXR::solve’
ERROR r-release-linux-x86_64

tests

Running ‘testthat.R’ [9s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(starnet)
  > 
  > testthat::test_check(package="starnet",stop_on_warning=FALSE)
  Saving _problems/test-92.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test.R:92:5'): (code run outside of `test_that()`) ──────────────────
  Error: 'solve' is not an exported object from 'namespace:CVXR'
  Backtrace:
      ▆
   1. └─starnet:::.glm(y = list$y, X = list$X, family = family) at test.R:92:5
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  Error:
  ! Test failures.
  Execution halted
WARNING r-release-windows-x86_64

dependencies in R code

Missing or unexported object: 'CVXR::solve'
ERROR r-release-windows-x86_64

tests

Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(starnet)
  > 
  > testthat::test_check(package="starnet",stop_on_warning=FALSE)
  Saving _problems/test-92.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test.R:92:5'): (code run outside of `test_that()`) ──────────────────
  Error: 'solve' is not an exported object from 'namespace:CVXR'
  Backtrace:
      ▆
   1. └─starnet:::.glm(y = list$y, X = list$X, family = family) at test.R:92:5
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
  Error:
  ! Test failures.
  Execution halted

Check History

ERROR 6 OK · 0 NOTE · 0 WARNING · 8 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-devel-linux-x86_64-debian-clang

dependencies in R code

Missing or unexported object: ‘CVXR::solve’
ERROR r-devel-linux-x86_64-debian-gcc

dependencies in R code

Missing or unexported object: ‘CVXR::solve’
ERROR r-devel-linux-x86_64-fedora-clang

dependencies in R code

Missing or unexported object: ‘CVXR::solve’
ERROR r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Missing or unexported object: ‘CVXR::solve’
ERROR r-devel-windows-x86_64

dependencies in R code

Missing or unexported object: 'CVXR::solve'
ERROR r-release-linux-x86_64

dependencies in R code

Missing or unexported object: ‘CVXR::solve’
ERROR r-release-windows-x86_64

dependencies in R code

Missing or unexported object: 'CVXR::solve'
ERROR r-oldrel-windows-x86_64

dependencies in R code

Missing or unexported object: 'CVXR::solve'

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies glmnet survival cornet Matrix transreg starnet

Version History

new 1.0.0 Mar 10, 2026
updated 1.0.0 ← 0.0.7 diff Jun 9, 2025
updated 0.0.7 ← 0.0.6 diff Sep 19, 2024
updated 0.0.6 ← 0.0.5 diff Nov 23, 2020
updated 0.0.5 ← 0.0.3 diff Nov 8, 2020
updated 0.0.3 ← 0.0.2 diff Jun 9, 2020
updated 0.0.2 ← 0.0.1 diff Jun 7, 2020
new 0.0.1 Jun 3, 2020