From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id iBFeIX4gRWXCMgEAauVa8A:P1 (envelope-from ) for ; Fri, 03 Nov 2023 17:31:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iBFeIX4gRWXCMgEAauVa8A (envelope-from ) for ; Fri, 03 Nov 2023 17:31:58 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 766FB20B3A for ; Fri, 3 Nov 2023 17:31:58 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mdc-berlin.de header.s=mdc header.b=VX9Dsnwh; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mdc-berlin.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699029118; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=4T/aKijpaLJbDhyG2WuvaXxfxQyLIX3SDN2E6M0WLVg=; b=kGqRiwcVEwpe1u/zdz0nwUb8hQiyzScPrpxyakYDNTo4tJStqUQGR5BaNvc2eNHOFLWXFQ wwH0MbmuK2oYCi5GtsQy/CTqtvleOFPwXG5AJ0az0FvsafPDJoBpnsSn3HZQSiWwKWAGPy 7EqwEHGLBHQebO05C5tH7MYDmjGnyf0gXe5bML37qOd9XqkXdnzR1UfoUOTrKiRKU97vvb pz9BNKhKRSSVZwKZZyGS1iIymD1/ZEn0Qb30d2bJ/nT9fWo5m5Wf2xZrb4+WebJKxuiXyy 9S7KDiCX1N7YszekoEMy4mmspDEZZ3KlHNNj1ZPHS9FzvuxorMw8kkTBGBAkxg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mdc-berlin.de header.s=mdc header.b=VX9Dsnwh; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mdc-berlin.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699029118; a=rsa-sha256; cv=none; b=DOcgn8uB1HSZWl+sy4Q9PFtGSBh/gNHkw9Ixs8CLDwDuT30WFnT7yq8HyFp2hKfmtPFxeS +sg6EzP/u9kuOGK7MVlasEVD6n21DFathP1tmNBoIRN7GqqfxRlFlLU4EavhsldylRCD2X QxVqaT/lGD5syERE9qMbY/bi5JGusajZju39KD8Tdv8oiyqmBfnso3R1uMKrsJKl7gwvOh zciZKmSnDfgw8kx+2Mq6TLpmvAyo8cjRLEXyYBEBshqWvu6uj4i3gpnZ6MNHcN0dVnhI9x tEDXtiiRBC+sJfokqxRfN35GDkY4iLLvrbjR5gbgPdetTMUo7EjB6qwVG7hOhQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyx50-0007WH-CJ; Fri, 03 Nov 2023 12:31:30 -0400 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 1qyx4x-0007VN-Fw for guix-patches@gnu.org; Fri, 03 Nov 2023 12:31:27 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qyx4x-0003sb-7X for guix-patches@gnu.org; Fri, 03 Nov 2023 12:31:27 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qyx5W-00021U-N2; Fri, 03 Nov 2023 12:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66921] [PATCH 2/5] gnu: Add r-truncdist. Resent-From: =?UTF-8?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= Original-Sender: "Debbugs-submit" Resent-CC: rekado@elephly.net, guix-patches@gnu.org Resent-Date: Fri, 03 Nov 2023 16:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66921 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: <66921@debbugs.gnu.org> Cc: Ricardo Wurmus X-Debbugs-Original-Xcc: Ricardo Wurmus Received: via spool by 66921-submit@debbugs.gnu.org id=B66921.16990291207760 (code B ref 66921); Fri, 03 Nov 2023 16:32:02 +0000 Received: (at 66921) by debbugs.gnu.org; 3 Nov 2023 16:32:00 +0000 Received: from localhost ([127.0.0.1]:59622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyx5Q-00020v-0l for submit@debbugs.gnu.org; Fri, 03 Nov 2023 12:32:00 -0400 Received: from a2062.mx.srv.dfn.de ([194.95.232.172]:41529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyx5G-000208-Mr for 66921@debbugs.gnu.org; Fri, 03 Nov 2023 12:31:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-transfer-encoding:content-type:content-type:mime-version :references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received; s=mdc; t=1699029065; x=1700843466; bh=z3LB7DTmwzW2RMbxwubXEL6gEiCqL9GOvF1pwPjKPKQ=; b=VX9DsnwhNhd6 G/30YXDB6Y5d7MBcESzjYr4UhJUL/Dl/XqmIfLJF6NpnZ/PJ6iveAAZwld8YLRnL piMU3S0TKr45L/C2tpYmjWII+1/hQI+K/HSRUzhAwsJmxurhm14wuF/ly7TeG3Gb v6LpQNkIRVuhL4ZGRwgOASnIGQSve2I= Received: from SW-IT-P-EX2.mdc-berlin.net (mgw2.mdc-berlin.de [141.80.113.60]) by a2062.mx.srv.dfn.de (Postfix) with ESMTPS id F348AA0184 for <66921@debbugs.gnu.org>; Fri, 3 Nov 2023 17:31:04 +0100 (CET) Received: from Guix-Ubuntu18.04 (141.80.113.106) by SW-IT-P-EX2.mdc-berlin.net (141.80.113.60) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Fri, 3 Nov 2023 17:31:04 +0100 From: =?UTF-8?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= Date: Fri, 3 Nov 2023 17:30:01 +0100 Message-ID: <40689c5253a6f5caa435b3aaf6844d892c35a70d.1699029004.git.madalinionel.patrascu@mdc-berlin.de> X-Mailer: git-send-email 2.41.0 In-Reply-To: <295ae4566681826b406dea240db641124f1d60a0.1699029004.git.madalinionel.patrascu@mdc-berlin.de> References: <295ae4566681826b406dea240db641124f1d60a0.1699029004.git.madalinionel.patrascu@mdc-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [141.80.113.106] X-ClientProxiedBy: SW-IT-P-EX1.mdc-berlin.net (141.80.113.54) To SW-IT-P-EX2.mdc-berlin.net (141.80.113.60) X-TM-AS-Product-Ver: SMEX-14.0.0.3092-9.0.1002-27976.000 X-TM-AS-Result: No-10-1.035700-5.000000 X-TMASE-MatchedRID: SzbEz7SZt2v/R1NSMc2qCTiEPRj9j9rvwTlc9CcHMZerwqxtE531VNnf JrUSEbFDN/cuMNJ8XfbuNT8xdcEnQwE+dA3RWUSvwLYk+NSxc5r4qCLIu0mtIP+aPQT1cxlGqbs +nJ/tFJHuEVrRP29I1v3YyLBPS3oVKnaxwk/RTBr1A8E3bi1JHM9SJbNoRDCLAhn751acftuYDT IhMw3OOX0tCKdnhB581kTfEkyaZdz6C0ePs7A07ba607moR85RK98MU2NIjcbYNH6PETb1HOaCB g/BzYjDCzbX9e2Tn5av7Vfb3BdqokGkic4gE/eFbOhivCzdl7IXZrMVAe1t4jiNfIGWyXmvdAnz xkc/wOO+Yl/q6i1mnv1mO1iYLJDqT4cbBIKMuHq+68HqACCvKA== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10-1.035700-5.000000 X-TMASE-Version: SMEX-14.0.0.3092-9.0.1002-27976.000 X-TM-SNTS-SMTP: DCB1A0646C3FCAC0D477637254B7E80769CB3ED2BF790E181B60DF8FFDE46D022000: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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 3.49 X-Spam-Score: 3.49 X-Migadu-Queue-Id: 766FB20B3A X-Migadu-Scanner: mx10.migadu.com X-TUID: rzqlxR5fTm0D * gnu/packages/cran.scm (r-truncdist): New variable. Change-Id: Icb9f06a36e5ee5a58828dc2f496b71a850a911b9 --- gnu/packages/cran.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index b8ae1fad14..d7334963ec 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -8856,6 +8856,30 @@ (define-public r-truncnorm functions, as well as a random generation function.") (license license:gpl2))) +(define-public r-truncdist + (package + (name "r-truncdist") + (version "1.0-2") + (source + (origin + (method url-fetch) + (uri (cran-uri "truncdist" version)) + (sha256 + (base32 "02ihw4ixhadwr3sqm6r264i8vpcaz8pn69vkzabd8fwqvn5vcj5q")))) + (properties `((upstream-name . "truncdist"))) + (build-system r-build-system) + (propagated-inputs (list r-evd)) + (home-page "https://cran.r-project.org/package=truncdist") + (synopsis "Truncated random variables") + (description + "This package provides a collection of tools to evaluate probability density +functions, cumulative distribution functions, quantile functions and random +numbers for truncated random variables. These functions are provided to also +compute the expected value and variance. @acronym{Q-Q, quantile–quantile} plots +can be produced. All the probability functions in the stats, stats4 and evd +packages are automatically available for truncation.") + (license license:gpl2+))) + (define-public r-rsolnp (package (name "r-rsolnp") -- 2.41.0