Skip to content

ccar3

Canonical Correlation Analysis via Reduced Rank Regression

v0.1.2 · Jun 12, 2026 · MIT + file LICENSE

Description

Canonical correlation analysis (CCA) via reduced-rank regression with support for regularization and cross-validation. Several methods for estimating CCA in high-dimensional settings are implemented. The first set of methods, cca_rrr() (and variants: cca_group_rrr() and cca_graph_rrr()), assumes that one dataset is high-dimensional and the other is low-dimensional, while the second, ecca() (for Efficient CCA) assumes that both datasets are high-dimensional. For both methods, standard l1 regularization as well as group-lasso regularization are available. cca_graph_rrr further supports total variation regularization when there is a known graph structure among the variables of the high-dimensional dataset. In this case, the loadings of the canonical directions of the high-dimensional dataset are assumed to be smooth on the graph. For more details see Donnat and Tuzhilina (2024) <doi:10.48550/arXiv.2405.19539> and Wu, Tuzhilina and Donnat (2025) <doi:10.48550/arXiv.2507.11160>.

Downloads

158

Last 30 days

23678th

368

Last 90 days

3.3K

Last year

Trend: +999%+ (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 7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 14, 2026
Archived
May 15, 2026
Archived

no longer on CRAN

Apr 11, 2026
ERROR 5 OK · 0 NOTE · 0 WARNING · 9 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-devel-linux-x86_64-debian-clang

dependencies in R code

Missing or unexported object: ‘CVXR::solve’
ERROR r-devel-linux-x86_64-debian-gcc

dependencies in R code

Missing or unexported object: ‘CVXR::solve’
ERROR r-devel-linux-x86_64-fedora-clang

dependencies in R code

Missing or unexported object: ‘CVXR::solve’
ERROR r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Missing or unexported object: ‘CVXR::solve’
ERROR r-devel-macos-arm64

tests

Running ‘testthat.R’ [53s/43s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional 
...[truncated]...
  7.             ├─parallel::recvOneData(cl)
   8.             └─parallel:::recvOneData.SOCKcluster(cl)
   9.               └─base::unserialize(socklist[[n]])
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 101 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-devel-windows-x86_64

dependencies in R code

Missing or unexported object: 'CVXR::solve'
ERROR r-release-linux-x86_64

dependencies in R code

Missing or unexported object: ‘CVXR::solve’
ERROR r-release-windows-x86_64

dependencies in R code

Missing or unexported object: 'CVXR::solve'
ERROR r-oldrel-windows-x86_64

dependencies in R code

Missing or unexported object: 'CVXR::solve'

Dependency Network

Dependencies Reverse dependencies magrittr tidyr dplyr foreach pracma corpcor matrixStats RSpectra ccar3

Version History

5 tracked
new 0.1.2 Jun 13, 2026
removed 0.1.1 May 15, 2026
new 0.1.1 Apr 29, 2026
removed 0.1.0 Apr 11, 2026
new 0.1.0 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Sep 16, 2025. Releases before tracking aren’t shown.