You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: powerpc-apple-darwin10.0.0d2 (32-bit)
> Sys.setenv("R_TESTS" = "")
> library(testthat)
> library(xrnet)
> test_check("xrnet")
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 165 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-predict-function.R:22:5'): predict returns estimates for penalties already fit by xrnet object ──
Error in `predict.xrnet(xrnet_object, p = 1, pext = 0.05, type = "coefficients")`: Not all penalty values in path(s), please refit xrnet() model with desired penalty values
Backtrace:
▆
1. ├─stats::predict(xrnet_object, p = 1, pext = 0.05, type = "coefficients") at test-predict-function.R:22:5
2. └─xrnet:::predict.xrnet(xrnet_object, p = 1, pext = 0.05, type = "coefficients")
── Error ('test-predict-function.R:52:5'): predict returns right predictions for penalties already fit by xrnet object ──
Error in `predict.xrnet(xrnet_object, p = 1, pext = 0.1, newdata = xtest)`: Not all penalty values in path(s), please refit xrnet() model with desired penalty values
Backtrace:
▆
1. ├─stats::predict(xrnet_object, p = 1, pext = 0.1, newdata = xtest) at test-predict-function.R:52:5
2. └─xrnet:::predict.xrnet(xrnet_object, p = 1, pext = 0.1, newdata = xtest)
── Error ('test-predict-function.R:94:5'): predict returns right predictions for penalties already fit by xrnet object, no external data ──
Error in `predict.xrnet(xrnet_object, p = c(0.05, 1, 2), newdata = xtest)`: Not all penalty values in path(s), please refit xrnet() model with desired penalty values
Backtrace:
▆
1. ├─stats::predict(xrnet_object, p = c(0.05, 1, 2), newdata = xtest) at test-predict-function.R:94:5
2. └─xrnet:::predict.xrnet(xrnet_object, p = c(0.05, 1, 2), newdata = xtest)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 165 ]
Error: Test failures
Execution halted
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: