From patchwork Wed Mar 1 07:23:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TcSDZMSDbGluIElvbmVsIFBhdHJhyJljdQ==?= X-Patchwork-Id: 47499 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 23C5F16CB7; Wed, 1 Mar 2023 07:25:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 492D316C74 for ; Wed, 1 Mar 2023 07:25:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXGpp-0004An-CJ; Wed, 01 Mar 2023 02:25:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pXGpj-00049j-5Q for guix-patches@gnu.org; Wed, 01 Mar 2023 02:25:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXGpi-0000jH-RF for guix-patches@gnu.org; Wed, 01 Mar 2023 02:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pXGpi-0007EV-FF for guix-patches@gnu.org; Wed, 01 Mar 2023 02:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61891] [PATCH 2/7] gnu: Add r-cplm. Resent-From: =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmHImWN1?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Mar 2023 07:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61891 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: <61891@debbugs.gnu.org> Received: via spool by 61891-submit@debbugs.gnu.org id=B61891.167765544927667 (code B ref 61891); Wed, 01 Mar 2023 07:25:02 +0000 Received: (at 61891) by debbugs.gnu.org; 1 Mar 2023 07:24:09 +0000 Received: from localhost ([127.0.0.1]:52476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXGop-0007C5-5w for submit@debbugs.gnu.org; Wed, 01 Mar 2023 02:24:09 -0500 Received: from a2062.mx.srv.dfn.de ([194.95.232.172]:47363) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXGom-0007BF-2D for 61891@debbugs.gnu.org; Wed, 01 Mar 2023 02:24:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:content-transfer-encoding:mime-version :references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received; s=mdc; t=1677655435; x=1679469836; bh=qfZQC3hDfVtYLubaEVLw+a6bUC1A8oiUvr5hUSGjkSI=; b=iKDhozEERU0x QWfzBiKIB1QzfCbdkaYas9Q8ki/xcANUwqVJwYH+tLVyR62QLwX2A4nEDjQ+Uu5s 7KO9aR87zAq7D+1pmhc64YGNpeQqi15jGQHPvivLuH3e98C+CwGDOGpxADu2tK1w i9sXLwztrzHpIXzs3ZE2gFUX9eRPEyg= Received: from SW-IT-P-EX4.mdc-berlin.net (mgw4.mdc-berlin.de [141.80.113.62]) by a2062.mx.srv.dfn.de (Postfix) with ESMTPS id C7BCAA0116 for <61891@debbugs.gnu.org>; Wed, 1 Mar 2023 08:23:55 +0100 (CET) Received: from pimi-TRX40-AORUS-PRO-WIFI.lan (77.23.232.54) by SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Wed, 1 Mar 2023 08:23:55 +0100 From: =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmHImWN1?= Date: Wed, 1 Mar 2023 08:23:38 +0100 Message-ID: <20230301072343.708693-2-madalinionel.patrascu@mdc-berlin.de> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230301072343.708693-1-madalinionel.patrascu@mdc-berlin.de> References: <20230301072343.708693-1-madalinionel.patrascu@mdc-berlin.de> MIME-Version: 1.0 X-Originating-IP: [77.23.232.54] X-ClientProxiedBy: SW-IT-P-EX3.mdc-berlin.net (141.80.113.61) To SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) X-TM-AS-Product-Ver: SMEX-14.0.0.3092-9.0.1002-27476.006 X-TM-AS-Result: No-10-3.997400-5.000000 X-TMASE-MatchedRID: GQw6Xh/XS6X/R1NSMc2qCU7nLUqYrlslFIuBIWrdOeOjEIt+uIPPOAbo TDS3zulAcjTcMkuJPYkrhPNSdY0/OGdR1HJpsacenVTWWiNp+v8XjfR3d0weRq2J8/jkO8ZJjFK /NcS7G4kywNy6JN5lrYCokZpBcVCcmHOFLpmlzgFYKMMlFh4BnYCRtjr/tqtg9kCABefJILzmi1 6k8x6URM8Nwo6L2y1CYd00a6+9/yijxYyRBa/qJcFwgTvxipFa9xS3mVzWUuAojN1lLei7Ra6wz UiKI9xgHnoCJ0kUuNHUIriEpf0d3GnhdXtfQAxinlbwibElT4K81WHA6LOVDvI5wxmglIBO6xfO bU/XaRQUIZtxV5ql91koJqWxWZxCNZA9irUk5qtj27eUrb9iufzsdE1PQouS X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10-3.997400-5.000000 X-TMASE-Version: SMEX-14.0.0.3092-9.0.1002-27476.006 X-TM-SNTS-SMTP: D1F34A87BEC68B08BB186BC6B02E891966457409D5B8228693A59DE0B62565612002:F X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cran.scm (r-cplm): New variable. --- gnu/packages/cran.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index fc8fe1a449..ddff93aa0d 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -325,6 +325,41 @@ (define-public r-collections queues, stacks, deques, dicts and ordered dicts.") (license license:expat))) +(define-public r-cplm + (package + (name "r-cplm") + (version "0.7-10") + (source + (origin + (method url-fetch) + (uri (cran-uri "cplm" version)) + (sha256 + (base32 "0mqjk10265hq9bc5ihmgbx1l8fzay1gpdlvx3pirqmvr3w1kwlxk")))) + (properties `((upstream-name . "cplm"))) + (build-system r-build-system) + (propagated-inputs + (list r-biglm + r-coda + r-ggplot2 + r-matrix + r-minqa + r-nlme + r-reshape2 + r-statmod + r-tweedie)) + (home-page "https://github.com/actuaryzhang/cplm") + (synopsis "Compound Poisson linear models") + (description "The Tweedie compound Poisson distribution is a mixture of a +degenerate distribution at the origin and a continuous distribution on the positive +real line. It has been applied in a wide range of fields in which continuous data +with exact zeros regularly arise. The cplm package provides likelihood based and +Bayesian procedures for fitting common Tweedie compound Poisson linear models. +In particular, models with hierarchical structures or extra zero inflation can be +handled. Further, the package implements the Gini index based on an ordered version +of the Lorenz curve as a robust model comparison tool involving zero-inflated and +highly skewed distributions.") + (license license:gpl2+))) + (define-public r-curry (package (name "r-curry")