From 0f0669e6437b46097f27eb9c2bda520635d72af2 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Tue, 4 Feb 2020 14:09:10 +0100 Subject: [v2 21/34] gnu: Add package r-rpf * 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 d3d382761a..3934f2085f 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -19828,3 +19828,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