ccar3
Canonical Correlation Analysis via Reduced Rank Regression
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
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
no longer on CRAN
ERROR 5 OK · 0 NOTE · 0 WARNING · 9 ERROR · 0 FAILURE Mar 10, 2026
dependencies in R code
Missing or unexported object: ‘CVXR::solve’
dependencies in R code
Missing or unexported object: ‘CVXR::solve’
dependencies in R code
Missing or unexported object: ‘CVXR::solve’
dependencies in R code
Missing or unexported object: ‘CVXR::solve’
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
dependencies in R code
Missing or unexported object: 'CVXR::solve'
dependencies in R code
Missing or unexported object: ‘CVXR::solve’
dependencies in R code
Missing or unexported object: 'CVXR::solve'
dependencies in R code
Missing or unexported object: 'CVXR::solve'
Dependency Network
Version History
5 trackedR Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Sep 16, 2025. Releases before tracking aren’t shown.