Skip to content

riemtan

Riemannian Metrics for Symmetric Positive Definite Matrices

v0.2.5 · Nov 10, 2025 · MIT + file LICENSE

Description

Implements various Riemannian metrics for symmetric positive definite matrices, including AIRM (Affine Invariant Riemannian Metric, <doi:10.1007/s11263-005-3222-z>), Log-Euclidean (<doi:10.1002/mrm.20965>), Euclidean, Log-Cholesky (<doi:10.1137/18M1221084>), and Bures-Wasserstein metrics (<doi:10.1016/j.exmath.2018.01.002>). Provides functions for computing logarithmic and exponential maps, vectorization, and statistical operations on the manifold of positive definite matrices.

Downloads

CRAN

285

Last 30 days

16710th

631

Last 90 days

2.3K

Last year

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

r2u CRAN

24

Last 30 days

124

Last 90 days

351

Last year

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

autoCRAN

1

Last 7 days

11

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

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 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

whether package can be installed

Installation failed.
See ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/riemtan.Rcheck/00install.out’ for details.
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 24.4Mb
  sub-directories of 1Mb or more:
    libs  23.7Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 24.9Mb
  sub-directories of 1Mb or more:
    libs  24.1Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/riemtan.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 24.4Mb
  sub-directories of 1Mb or more:
    libs  23.7Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 24.9Mb
  sub-directories of 1Mb or more:
    libs  24.1Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 28, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 24.4Mb
  sub-directories of 1Mb or more:
    libs  23.7Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 24.9Mb
  sub-directories of 1Mb or more:
    libs  24.1Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 24, 2026
ERROR r-release-windows-x86_64

tests

Running 'testthat.R' [300s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(riemtan)
  
  Attaching package: 'riemtan'
  
  The following object is masked from 'package:stats':
  
      dexp
  
  > 

...[truncated]...
├─base::do.call(makeClusterPSOCK, args = args, quote = TRUE)
   12.         └─parallelly (local) `<fn>`(base::quote(2L), rscript_libs = base::quote(`<chr>`))
  
  [ FAIL 1 | WARN 19 | SKIP 0 | PASS 380 ]
  Error:
  ! Test failures.
  Execution halted
NOTE r-oldrel-macos-arm64

installed package size

installed size is 24.4Mb
  sub-directories of 1Mb or more:
    libs  23.7Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 24.9Mb
  sub-directories of 1Mb or more:
    libs  24.1Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 24.4Mb
  sub-directories of 1Mb or more:
    libs  23.7Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 24.9Mb
  sub-directories of 1Mb or more:
    libs  24.1Mb

Code

Structure

Lines of code

9,992

Files

120

Compiled share

8.9%

Has compiled src

Yes

Language breakdown

R 3,327 (33.3%)C/C++/src 889 (8.9%)Tests 1,740 (17.4%)Docs 2,855 (28.6%)Vignettes 1,181 (11.8%)

API

Exported functions

56

Internal functions

23

Recent export changes

v0.2.5+15 CSuperSample, ListBackend, ParquetBackend +12 more
v0.1.0+41 CSample, airm_exp, airm_log +38 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.52

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

92.9%

\dontrun example ratio

54.5%

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

9.1%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.3.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2025-04-23

Latest release

2025-11-10

Avg cadence

201 days

Cold removal rate

Dep drift

6

LOC over versions

v0.1.0: 3,396 LOCv0.2.5: 9,992 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies arrow future furrr jsonlite Matrix R6 purrr MASS matrixStats Rcpp riemtan

Version History

3 tracked
new 0.2.5 Mar 10, 2026
updated 0.2.5 ← 0.1.0 diff Nov 9, 2025
new 0.1.0 Apr 22, 2025