Package: spca
Type: Package
Title: Least Squares Sparse Principal Components Analysis
Version: 1.1.3
Date: 2026-08-29
Authors@R: person(given = "Giovanni Maria", family = "Merola", email = "merolagio@gmail.com", role = c("aut", "cre"))
Description: Implements least-squares sparse principal component analysis with cardinality constraints. The package has an efficient C++ backend and provides functions for fitting, summarizing, comparing, and visualizing sparse principal component models. The approach follows Merola (2015) <doi:10.1111/anzs.12128> and Merola and Chen (2019) <doi:10.1016/j.jmva.2019.04.001>. 
Maintainer: Giovanni Maria Merola <merolagio@gmail.com>
URL: https://github.com/merolagio/spca
BugReports: https://github.com/merolagio/spca/issues
License: AGPL-3
Encoding: UTF-8
Depends: R (>= 4.3)
Imports: Rcpp (>= 1.0.14), ggplot2 (>= 4.0.0), RMTstat (>= 0.3.1),
        scales, rlang
Suggests: testthat (>= 3.0.0), peakRAM (>= 1.0.2), knitr, rmarkdown,
        R.rsp
VignetteBuilder: knitr
Config/testthat/edition: 3
LinkingTo: Rcpp, RcppEigen
RoxygenNote: 7.3.2
LazyData: true
NeedsCompilation: yes
Packaged: 2026-08-30 22:47:11 UTC; merol
Author: Giovanni Maria Merola [aut, cre]
Repository: CRAN
Date/Publication: 2026-08-31 15:40:02 UTC
Built: R 4.5.2; x86_64-apple-darwin20; 2026-08-31 18:08:09 UTC; unix
Archs: spca.so.dSYM
