Subject: [bug#39416] [PATCH 21/34] gnu: Add package r-rpf

From: Lars-Dominik Braun <[email-masked]>
Date: Tue, 4 Feb 2020 14:56:13 +0100

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 47acdf95ae..a607abd262 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19817,3 +19817,29 @@ etc.), and a parser for the Stan language.  The @code{r-rstan} package provides
 user-facing R functions to parse, compile, test, estimate, and analyze Stan
 models.")
     (license license:bsd-3)))
+
+(define-public r-rpf
+  (package
+    (name "r-rpf")
+    (version "0.62")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "rpf" version))
+        (sha256
+          (base32
+            "1vgqhwi676bi9jjxljnxblw65b5szjwbp87wnsabc11vfjzc9wki"))))
+    (properties `((upstream-name . "rpf")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-mvtnorm" ,r-mvtnorm)
+        ("r-rcppeigen" ,r-rcppeigen)))
+    (home-page "https://github.com/jpritikin/rpf")
+    (synopsis "Response Probability Functions")
+    (description
+      "The purpose of this package is to factor out logic and math common to
+Item Factor Analysis fitting, diagnostics, and analysis.  It is envisioned as
+core support code suitable for more specialized IRT packages to build upon.
+Complete access to optimized C functions are made available with
+@code{R_RegisterCCallable()}.")
+    (license license:gpl3+)))
-- 
2.20.1