From patchwork Sat Apr 18 11:14:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Brown X-Patchwork-Id: 21348 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 B2B6B27BBE4; Sat, 18 Apr 2020 16:49:10 +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=unavailable 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 7948B27BBE1 for ; Sat, 18 Apr 2020 16:49:10 +0100 (BST) Received: from localhost ([::1]:59018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPpiQ-0002H5-1i for patchwork@mira.cbaines.net; Sat, 18 Apr 2020 11:49:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42665) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPpiK-0002CK-8P for guix-patches@gnu.org; Sat, 18 Apr 2020 11:49:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPpiH-0000jA-Vn for guix-patches@gnu.org; Sat, 18 Apr 2020 11:49:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60129) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jPpiH-0000ii-SC for guix-patches@gnu.org; Sat, 18 Apr 2020 11:49:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jPpiH-0004ZR-S7 for guix-patches@gnu.org; Sat, 18 Apr 2020 11:49:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40696] New package 'r-bridgesampling" Resent-From: Eric Brown Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Apr 2020 15:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40696 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 40696@debbugs.gnu.org Cc: ricardo.wurmus@mdc-berlin.de X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158722492917539 (code B ref -1); Sat, 18 Apr 2020 15:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Apr 2020 15:48:49 +0000 Received: from localhost ([127.0.0.1]:43440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPpi3-0004Ym-DY for submit@debbugs.gnu.org; Sat, 18 Apr 2020 11:48:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:49697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPlQw-0007xX-Bz for submit@debbugs.gnu.org; Sat, 18 Apr 2020 07:14:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53800) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPlQv-0007n2-2J for guix-patches@gnu.org; Sat, 18 Apr 2020 07:14:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPlQt-0005SR-QL for guix-patches@gnu.org; Sat, 18 Apr 2020 07:14:48 -0400 Received: from 216-80-121-173.s13.demp-ubr2.chi-demp.il.static.cable.rcncustomer.com ([216.80.121.173]:52918 helo=ericcbrown.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jPlQt-0005QW-Kq for guix-patches@gnu.org; Sat, 18 Apr 2020 07:14:47 -0400 Received: from localhost (unknown [192.168.1.1]) by ericcbrown.com (Postfix) with ESMTPSA id 74DF549184BB; Sat, 18 Apr 2020 06:14:41 -0500 (CDT) From: Eric Brown Mail-reply-to: Eric Brown Mail-followup-to: Eric Brown Date: Sat, 18 Apr 2020 06:14:39 -0500 Message-ID: <87mu79cag0.fsf@ericcbrown.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Mac OS X [generic] [fuzzy] X-Mailman-Approved-At: Sat, 18 Apr 2020 11:48:46 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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 Dear Guix, @rekado: Please see the attached diff for the CRAN package `bridgesampling' intended for gnu/packages/cran.scm. Best regards, Eric From 055dea79291dded20eafd42eb987445cbdf736b8 Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Fri, 17 Apr 2020 15:12:49 -0500 Subject: [PATCH] r-bridgesampling.scm --- gnu/packages/cran.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index f5863e1f6e..f93b7e457f 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -21102,3 +21102,35 @@ client).") designs with and without early outcomes for treatment selection and subpopulation type designs.") (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