Skip to content

rclsp

A Modular Two-Step Convex Optimization Estimator for Ill-Posed Problems

v2.0.1 · Jun 11, 2026 · MIT + file LICENSE

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

CRAN

523

Last 30 days

6946th

1.6K

Last 90 days

5K

Last year

Trend: -4.6% (30d vs prior 30d)

r2u CRAN

23

Last 30 days

55

Last 90 days

113

Last year

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

CRAN Check Status

13 OK
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
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required and available but unsuitable version: ‘CVXR’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
ERROR r-devel-linux-x86_64-fedora-clang

package dependencies

Package required and available but unsuitable version: ‘CVXR’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
ERROR r-devel-linux-x86_64-fedora-gcc

package dependencies

Package required and available but unsuitable version: ‘CVXR’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
ERROR r-devel-windows-x86_64

package dependencies

Package required and available but unsuitable version: 'CVXR'

See section 'The DESCRIPTION file' in the 'Writing R Extensions'
manual.
ERROR r-oldrel-windows-x86_64

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
ERROR r-devel-linux-x86_64-debian-clang

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
ERROR r-devel-linux-x86_64-fedora-gcc

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
ERROR r-release-linux-x86_64

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
ERROR r-release-windows-x86_64

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
ERROR r-oldrel-windows-x86_64

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

Reverse Dependencies (2)

imports

Dependency Network

Dependencies Reverse dependencies Matrix CVXR rlppinv rtmpinv rclsp

Version History

10 tracked
updated 2.0.1 ← 2.0.0 diff Jun 11, 2026
updated 2.0.0 ← 1.1.0 diff Jun 8, 2026
updated 1.1.0 ← 1.0.0 diff Jun 7, 2026
updated 1.0.0 ← 0.5.0 diff May 16, 2026
new 0.5.0 Mar 10, 2026
updated 0.5.0 ← 0.4.0 diff Mar 8, 2026
updated 0.4.0 ← 0.3.0 diff Feb 18, 2026
updated 0.3.0 ← 0.2.0 diff Jan 29, 2026
updated 0.2.0 ← 0.1.0 diff Nov 25, 2025
new 0.1.0 Nov 16, 2025