rclsp
A Modular Two-Step Convex Optimization Estimator for Ill-Posed Problems
Description
Convex Least Squares Programming (CLSP) is a two-step estimator for solving underdetermined, ill-posed, or structurally constrained least-squares problems. It combines pseudoinverse-based estimation with convex-programming correction methods inspired by Lasso, Ridge, and Elastic Net to ensure numerical stability, constraint enforcement, and interpretability. The package also provides numerical stability analysis and CLSP-specific diagnostics, including partial R^2, normalized RMSE (NRMSE), Monte Carlo t-tests for mean NRMSE, and condition-number-based confidence bands.
Downloads
2.6K
Last 30 days
2621st
3.1K
Last 90 days
3.4K
Last year
Trend: +806.9% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 17, 2026
ERROR 9 OK · 0 NOTE · 0 WARNING · 5 ERROR · 0 FAILURE Mar 10, 2026
tests
Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rclsp)
>
> test_check("rclsp")
Saving _problems/test-clsp-42.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
══ Fail
...[truncated]...
) == 2L) as.matrix else as.vector)(y)
10. └─base::as.matrix.default(y)
11. └─base::array(...)
12. └─base::as.vector(data)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rclsp)
>
> test_check("rclsp")
Saving _problems/test-clsp-42.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests
...[truncated]...
) == 2L) as.matrix else as.vector)(y)
10. └─base::as.matrix.default(y)
11. └─base::array(...)
12. └─base::as.vector(data)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [5s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rclsp)
>
> test_check("rclsp")
Saving _problems/test-clsp-42.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
══ Fail
...[truncated]...
) == 2L) as.matrix else as.vector)(y)
10. └─base::as.matrix.default(y)
11. └─base::array(...)
12. └─base::as.vector(data)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted
tests
Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(rclsp)
>
> test_check("rclsp")
Saving _problems/test-clsp-42.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed
...[truncated]...
) == 2L) as.matrix else as.vector)(y)
10. └─base::as.matrix.default(y)
11. └─base::array(...)
12. └─base::as.vector(data)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted
tests
Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(rclsp)
>
> test_check("rclsp")
Saving _problems/test-clsp-42.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed
...[truncated]...
) == 2L) as.matrix else as.vector)(y)
10. └─base::as.matrix.default(y)
11. └─base::array(...)
12. └─base::as.vector(data)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted