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
503
Last 30 days
7978th
1.6K
Last 90 days
5K
Last year
Trend: -5.1% (30d vs prior 30d)
23
Last 30 days
60
Last 90 days
136
Last year
Trend: 0% (30d vs prior 30d)
0
Last 7 days
7
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 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-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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 18, 2026
ERROR 8 OK · 0 NOTE · 0 WARNING · 5 ERROR · 0 FAILURE Jun 10, 2026
package dependencies
Package required and available but unsuitable version: ‘CVXR’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual.
package dependencies
Package required and available but unsuitable version: ‘CVXR’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual.
package dependencies
Package required and available but unsuitable version: ‘CVXR’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual.
package dependencies
Package required and available but unsuitable version: 'CVXR' See section 'The DESCRIPTION file' in the 'Writing R Extensions' manual.
package dependencies
Package required and available but unsuitable version: 'CVXR' See section 'The DESCRIPTION file' in the 'Writing R Extensions' manual.
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
Code
Structure
Lines of code
1,547
Files
14
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
4
Internal functions
15
Testing & CI
Has tests
Yes
Test-to-code ratio
0.06
testthat edition
3
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
100%
\dontrun example ratio
100%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
–
Unsafe pattern score
0
Dep constraint coverage
25%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
4.3
System requirements
–
C++ standard
–
License
MIT + file LICENSE
License flags
SPDX valid, OSI approved
History
Versions
9
First release
2025-11-17
Latest release
2026-06-11
Avg cadence
19 days
Cold removal rate
–
Dep drift
1
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.