Subject: [bug#61838] [PATCH 12/13] gnu: Add r-pma.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Mon, 27 Feb 2023 11:28:49 +0100

* gnu/packages/cran.scm (r-pma): New variable.
---
 gnu/packages/cran.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 517db893cd..61dcff7f12 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -905,6 +905,26 @@ (define-public r-googlesheets4
 can read and write both the metadata and the cell data in a Sheet.")
     (license license:expat)))
 
+(define-public r-pma
+  (package
+    (name "r-pma")
+    (version "1.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "PMA" version))
+       (sha256
+        (base32 "1rhiylm3jfarnqdkv7nwg536sgsa30ic80dk9byks9w0wf4mn59s"))))
+    (properties `((upstream-name . "PMA")))
+    (build-system r-build-system)
+    (home-page "https://github.com/bnaras/PMA")
+    (synopsis "Penalized multivariate analysis")
+    (description
+     "This package performs penalized multivariate analysis: a penalized matrix
+decomposition, sparse principal components analysis, and sparse canonical
+correlation analysis.")
+    (license license:gpl2+)))
+
 (define-public r-proj4
   (package
     (name "r-proj4")
-- 
2.39.1