* [bug#40696] New package 'r-bridgesampling"
@ 2020-04-18 11:14 Eric Brown
2020-04-19 19:21 ` [bug#40696] Status: " Eric Brown
0 siblings, 1 reply; 3+ messages in thread
From: Eric Brown @ 2020-04-18 11:14 UTC (permalink / raw)
To: 40696; +Cc: ricardo.wurmus
[-- Attachment #1: Type: text/plain, Size: 145 bytes --]
Dear Guix,
@rekado:
Please see the attached diff for the CRAN package `bridgesampling'
intended for gnu/packages/cran.scm.
Best regards,
Eric
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: r-bridgesampling.scm.patch --]
[-- Type: text/x-diff, Size: 1649 bytes --]
From 055dea79291dded20eafd42eb987445cbdf736b8 Mon Sep 17 00:00:00 2001
From: Eric Brown <ecbrown@ericcbrown.com>
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#40696] Status: New package 'r-bridgesampling"
2020-04-18 11:14 [bug#40696] New package 'r-bridgesampling" Eric Brown
@ 2020-04-19 19:21 ` Eric Brown
2020-04-22 11:59 ` bug#40696: " Ricardo Wurmus
0 siblings, 1 reply; 3+ messages in thread
From: Eric Brown @ 2020-04-19 19:21 UTC (permalink / raw)
To: bug#40696
[-- Attachment #1: Type: text/plain, Size: 3069 bytes --]
bug#40696 <40696@debbugs.gnu.org> writes:
> retitle 40696 New package 'r-bridgesampling"
> reassign 40696 guix-patches
> submitter 40696 Eric Brown <ecbrown@ericcbrown.com>
> 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 <ecbrown@ericcbrown.com>
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 <laura.lazzati.15@gmail.com>
;;; Copyright © 2018 Leo Famulari <leo@famulari.name>
;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
-;;; Copyright © 2018 Eric Brown <brown@fastmail.com>
;;; Copyright © 2018, 2019 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2019 Nicolò Balzarotti <anothersms@gmail.com>
;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
;;; Copyright © 2020 Todor Kondić <tk.code@protonmail.com>
;;; Copyright © 2020 Danjela Lura <danielaluraa@gmail.com>
;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
+;;; Copyright © 2020 Eric Brown <ecbrown@ericcbrown.com>
;;;
;;; 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
[-- Attachment #2: r-bridgesampling patch --]
[-- Type: text/x-patch, Size: 2642 bytes --]
From 152d58d7c813e6b16838ebccc450e6c53594e58a Mon Sep 17 00:00:00 2001
From: Eric Brown <ecbrown@ericcbrown.com>
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 <laura.lazzati.15@gmail.com>
;;; Copyright © 2018 Leo Famulari <leo@famulari.name>
;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
-;;; Copyright © 2018 Eric Brown <brown@fastmail.com>
;;; Copyright © 2018, 2019 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2019 Nicolò Balzarotti <anothersms@gmail.com>
;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
;;; Copyright © 2020 Todor Kondić <tk.code@protonmail.com>
;;; Copyright © 2020 Danjela Lura <danielaluraa@gmail.com>
;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
+;;; Copyright © 2020 Eric Brown <ecbrown@ericcbrown.com>
;;;
;;; 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#40696: Status: New package 'r-bridgesampling"
2020-04-19 19:21 ` [bug#40696] Status: " Eric Brown
@ 2020-04-22 11:59 ` Ricardo Wurmus
0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2020-04-22 11:59 UTC (permalink / raw)
To: Eric Brown; +Cc: 40696-done
Eric Brown <ecbrown@ericcbrown.com> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-22 12:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-18 11:14 [bug#40696] New package 'r-bridgesampling" Eric Brown
2020-04-19 19:21 ` [bug#40696] Status: " Eric Brown
2020-04-22 11:59 ` bug#40696: " Ricardo Wurmus
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).