Last updated on 2026-03-07 04:50:47 CET.
| Package | ERROR | OK |
|---|---|---|
| savvySh | 2 | 11 |
Current CRAN status: ERROR: 2, OK: 11
Version: 0.1.0
Check: examples
Result: ERROR
Running examples in ‘savvySh-Ex.R’ failed
The error most likely occurred in:
> ### Name: coef.savvySh_model
> ### Title: Extract Coefficients for a Slab and Shrinkage Linear Regression
> ### Model
> ### Aliases: coef.savvySh_model
>
> ### ** Examples
>
> # Generate simulated data for example
> set.seed(123)
> x <- matrix(rnorm(100 * 5), 100, 5)
> y <- rnorm(100)
>
> # Fit a Multiplicative shrinkage model
> fit <- savvySh(x, y, model_class = "Multiplicative", include_Sh = TRUE)
Error in pd.solve(Sigma_lambda) : x appears to be not symmetric
Calls: savvySh -> pd.solve
Execution halted
Flavors: r-devel-macos-arm64, r-release-macos-arm64
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(savvySh)
>
> test_check("savvySh")
Saving _problems/test-savvySh.main-19.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 126 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-savvySh.main.R:17:3'): savvySh function handles input validation correctly ──
Error in `pd.solve(Sigma_lambda)`: x appears to be not symmetric
Backtrace:
▆
1. ├─testthat::capture_warnings(savvySh(x[1:5, ], y[1:5], model_class = "Multiplicative")) at test-savvySh.main.R:17:3
2. │ └─base::withCallingHandlers(...)
3. └─savvySh::savvySh(x[1:5, ], y[1:5], model_class = "Multiplicative")
4. └─mnormt::pd.solve(Sigma_lambda)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 126 ]
Error:
! Test failures.
Execution halted
Flavors: r-devel-macos-arm64, r-release-macos-arm64