From 0f5ae473b03fb64ec8efcf76b56037cb8c8cb818 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 1 Jan 2020 12:57:21 +0100 Subject: [PATCH] gnu: Add r-emplik. * gnu/packages/cran.scm (r-emplik): New variable. --- gnu/packages/cran.scm | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index dbc2b4614d..4f4ec592a8 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus +;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus ;;; Copyright © 2015 Andreas Enge ;;; Copyright © 2016, 2017 Ben Woodcroft ;;; Copyright © 2016, 2017, 2018 Roel Janssen @@ -18988,3 +18988,26 @@ (define-public r-influencer betweenness, Key Players, and bridging implementations are parallelized with OpenMP.") (license license:gpl2))) + +(define-public r-emplik + (package + (name "r-emplik") + (version "1.0-4.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "emplik" version)) + (sha256 + (base32 + "1g4hz85bvw29c77zs0ig487z92jjl682vv457x81l077h0psvk7c")))) + (properties `((upstream-name . "emplik"))) + (build-system r-build-system) + (propagated-inputs + `(("r-quantreg" ,r-quantreg))) + (home-page "http://www.ms.uky.edu/~mai/EmpLik.html") + (synopsis "Empirical likelihood ratio for censored/truncated data") + (description + "This package provides empirical likelihood ratio tests for +means/quantiles/hazards from possibly censored and/or truncated data. It also +does regression.") + (license license:gpl2+)))