Skip to content

rtmpinv

Tabular Matrix Problems via Pseudoinverse Estimation

v0.3.0 · Mar 10, 2026 · MIT + file LICENSE

Description

The Tabular Matrix Problems via Pseudoinverse Estimation (TMPinv) is a two-stage estimation method that reformulates structured table-based systems - such as allocation problems, transaction matrices, and input-output tables - as structured least-squares problems. Based on the Convex Least Squares Programming (CLSP) framework, TMPinv solves systems with row and column constraints, block structure, and optionally reduced dimensionality by (1) constructing a canonical constraint form and applying a pseudoinverse-based projection, followed by (2) a convex-programming refinement stage to improve fit, coherence, and regularization (e.g., via Lasso, Ridge, or Elastic Net).

Downloads

1.7K

Last 30 days

3054th

2K

Last 90 days

2.2K

Last year

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

CRAN Check Status

14 OK
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 8 OK · 0 NOTE · 0 WARNING · 6 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-devel-linux-x86_64-debian-clang

tests

Running ‘testthat.R’ [3s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rtmpinv)
  > 
  > test_check("rtmpinv")
  Saving _problems/test-tmpinv-30.R
  Saving _problems/test-tmpinv-90.R
  [ FAIL 2
...[truncated]...
matrix else as.vector)(y)
   14.             └─base::as.matrix.default(y)
   15.               └─base::array(...)
   16.                 └─base::as.vector(data)
  
  [ FAIL 2 | 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(rtmpinv)
  > 
  > test_check("rtmpinv")
  Saving _problems/test-tmpinv-30.R
  Saving _problems/test-tmpinv-90.R
  [ FAIL 2 | WARN 
...[truncated]...
matrix else as.vector)(y)
   14.             └─base::as.matrix.default(y)
   15.               └─base::array(...)
   16.                 └─base::as.vector(data)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-devel-windows-x86_64

tests

Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rtmpinv)
  > 
  > test_check("rtmpinv")
  Saving _problems/test-tmpinv-30.R
  Saving _problems/test-tmpinv-90.R
  [ FAIL 2 | 
...[truncated]...
matrix else as.vector)(y)
   14.             └─base::as.matrix.default(y)
   15.               └─base::array(...)
   16.                 └─base::as.vector(data)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-release-linux-x86_64

tests

Running ‘testthat.R’ [3s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rtmpinv)
  > 
  > test_check("rtmpinv")
  Saving _problems/test-tmpinv-30.R
  Saving _problems/test-tmpinv-90.R
  [ FAIL 2
...[truncated]...
matrix else as.vector)(y)
   14.             └─base::as.matrix.default(y)
   15.               └─base::array(...)
   16.                 └─base::as.vector(data)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-release-windows-x86_64

tests

Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rtmpinv)
  > 
  > test_check("rtmpinv")
  Saving _problems/test-tmpinv-30.R
  Saving _problems/test-tmpinv-90.R
  [ FAIL 2 | 
...[truncated]...
matrix else as.vector)(y)
   14.             └─base::as.matrix.default(y)
   15.               └─base::array(...)
   16.                 └─base::as.vector(data)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-oldrel-windows-x86_64

tests

Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rtmpinv)
  > 
  > test_check("rtmpinv")
  Saving _problems/test-tmpinv-30.R
  Saving _problems/test-tmpinv-90.R
  [ FAIL 2 | 
...[truncated]...
matrix else as.vector)(y)
   14.             └─base::as.matrix.default(y)
   15.               └─base::array(...)
   16.                 └─base::as.vector(data)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
  Error:
  ! Test failures.
  Execution halted

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies rclsp rtmpinvi rtmpinv

Version History

updated 0.3.0 ← 0.2.0 diff Mar 10, 2026
new 0.2.0 Mar 10, 2026
updated 0.2.0 ← 0.1.0 diff Jan 29, 2026
new 0.1.0 Dec 2, 2025