emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#40696: closed (New package 'r-bridgesampling")


From: GNU bug Tracking System
Subject: bug#40696: closed (New package 'r-bridgesampling")
Date: Wed, 22 Apr 2020 12:00:02 +0000

Your message dated Wed, 22 Apr 2020 13:59:27 +0200
with message-id <address@hidden>
and subject line Re: [bug#40696] Status: New package 'r-bridgesampling"
has caused the debbugs.gnu.org bug report #40696,
regarding New package 'r-bridgesampling"
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
40696: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40696
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: New package 'r-bridgesampling" Date: Sat, 18 Apr 2020 06:14:39 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
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 <address@hidden>
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


--- End Message ---
--- Begin Message --- Subject: Re: [bug#40696] Status: New package 'r-bridgesampling" Date: Wed, 22 Apr 2020 13:59:27 +0200 User-agent: mu4e 1.2.0; emacs 26.3
Eric Brown <address@hidden> writes:

> In response to rekado's observation that the first patch will not apply
> to master, I have created a second patch to try.

Thank you!

I pushed this (with minor changes) to the master branch with commit
e68c8d3ef8d59b8c81fedd8fe9ea38f51cb9437a.

--
Ricardo


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]