From patchwork Sun Apr 19 19:21:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Eric Brown X-Patchwork-Id: 21365 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 58FA227BBE1; Sun, 19 Apr 2020 21:22:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 0AAA927BBEB for ; Sun, 19 Apr 2020 21:22:11 +0100 (BST) Received: from localhost ([::1]:47394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQGSA-0008TM-JL for patchwork@mira.cbaines.net; Sun, 19 Apr 2020 16:22:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35214 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQGS3-0008SX-Or for guix-patches@gnu.org; Sun, 19 Apr 2020 16:22:04 -0400 Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQGS2-0004ZY-Vy for guix-patches@gnu.org; Sun, 19 Apr 2020 16:22:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34523) by eggs1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQGS2-0004ZR-JH for guix-patches@gnu.org; Sun, 19 Apr 2020 16:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jQGS2-0007vh-Fu for guix-patches@gnu.org; Sun, 19 Apr 2020 16:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40696] Status: New package 'r-bridgesampling" References: <87mu79cag0.fsf@ericcbrown.com> Resent-From: Eric Brown Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 Apr 2020 20:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40696 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: bug#40696 <40696@debbugs.gnu.org> Received: via spool by 40696-submit@debbugs.gnu.org id=B40696.158732767430401 (code B ref 40696); Sun, 19 Apr 2020 20:22:02 +0000 Received: (at 40696) by debbugs.gnu.org; 19 Apr 2020 20:21:14 +0000 Received: from localhost ([127.0.0.1]:46066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQGRF-0007uF-9m for submit@debbugs.gnu.org; Sun, 19 Apr 2020 16:21:13 -0400 Received: from 216-80-121-173.s13.demp-ubr2.chi-demp.il.static.cable.rcncustomer.com ([216.80.121.173]:62836 helo=ericcbrown.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQFVL-0006RI-2K for 40696@debbugs.gnu.org; Sun, 19 Apr 2020 15:21:23 -0400 Received: from localhost (unknown [192.168.1.1]) by ericcbrown.com (Postfix) with ESMTPSA id 3A7C9495F647 for <40696@debbugs.gnu.org>; Sun, 19 Apr 2020 14:21:17 -0500 (CDT) From: Eric Brown In-Reply-To: bug's message of "Sun\, 19 Apr 2020 19\:15\:11 +0000" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Date: Sun, 19 Apr 2020 14:21:16 -0500 Message-ID: <874ktfcmdv.fsf@ericcbrown.com> MIME-Version: 1.0 X-Mailman-Approved-At: Sun, 19 Apr 2020 16:21:11 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 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" X-getmail-retrieved-from-mailbox: Patches bug#40696 <40696@debbugs.gnu.org> writes: > retitle 40696 New package 'r-bridgesampling" > reassign 40696 guix-patches > submitter 40696 Eric Brown > severity 40696 normal > > thanks In response to rekado's observation that the first patch will not apply to master, I have created a second patch to try. From the feature branch I was developing on: git format-patch master From 152d58d7c813e6b16838ebccc450e6c53594e58a Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Sun, 19 Apr 2020 14:07:27 -0500 Subject: [PATCH] gnu: Add r-bridgesampling. * gnu/packages/cran.scm (r-bridgesampling): New variable. --- gnu/packages/cran.scm | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) From 152d58d7c813e6b16838ebccc450e6c53594e58a Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Sun, 19 Apr 2020 14:07:27 -0500 Subject: [PATCH] gnu: Add r-bridgesampling. * gnu/packages/cran.scm (r-bridgesampling): New variable. --- gnu/packages/cran.scm | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 757f809941..f9e0686ccf 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -14,13 +14,13 @@ ;;; Copyright © 2018 Laura Lazzati ;;; Copyright © 2018 Leo Famulari ;;; Copyright © 2018 Marius Bakke -;;; Copyright © 2018 Eric Brown ;;; Copyright © 2018, 2019 Brett Gilio ;;; Copyright © 2019 Nicolò Balzarotti ;;; Copyright © 2019 Wiktor Żelazny ;;; Copyright © 2020 Todor Kondić ;;; Copyright © 2020 Danjela Lura ;;; Copyright © 2020 Naga Malleswari +;;; Copyright © 2020 Eric Brown ;;; ;;; This file is part of GNU Guix. ;;; @@ -21131,3 +21131,35 @@ vignettes from notebooks. Those notebooks (@code{.ipynb} files) are files containing rich text, code, and its output. Code cells can be edited and evaluated interactively.") (license license:gpl3))) + +(define-public r-bridgesampling + (package + (name "r-bridgesampling") + (version "1.0-0") + (source + (origin + (method url-fetch) + (uri (cran-uri "bridgesampling" version)) + (sha256 + (base32 + "1awhvv0v42w2q6llqi1wqpaiv5zx74cqzigdsvphy2jfp8ajw64y")))) + (properties + `((upstream-name . "bridgesampling"))) + (build-system r-build-system) + (propagated-inputs + `(("r-brobdingnag" ,r-brobdingnag) + ("r-coda" ,r-coda) + ("r-matrix" ,r-matrix) + ("r-mvtnorm" ,r-mvtnorm) + ("r-scales" ,r-scales) + ("r-stringr" ,r-stringr))) + (native-inputs `(("r-knitr" ,r-knitr))) + (home-page + "https://github.com/quentingronau/bridgesampling") + (synopsis + "Bridge Sampling for Marginal Likelihoods and Bayes Factors") + (description + "This package provides functions for estimating marginal likelihoods, +Bayes factors, posterior model probabilities, and normalizing constants in +general, via different versions of bridge sampling.") + (license license:gpl2+))) -- 2.26.1