From: Eric Brown <ecbrown@ericcbrown.com>
To: 40696@debbugs.gnu.org
Cc: ricardo.wurmus@mdc-berlin.de
Subject: [bug#40696] New package 'r-bridgesampling"
Date: Sat, 18 Apr 2020 06:14:39 -0500 [thread overview]
Message-ID: <87mu79cag0.fsf@ericcbrown.com> (raw)
[-- 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
next reply other threads:[~2020-04-18 15:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-18 11:14 Eric Brown [this message]
2020-04-19 19:21 ` [bug#40696] Status: New package 'r-bridgesampling" Eric Brown
2020-04-22 11:59 ` bug#40696: " Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mu79cag0.fsf@ericcbrown.com \
--to=ecbrown@ericcbrown.com \
--cc=40696@debbugs.gnu.org \
--cc=ricardo.wurmus@mdc-berlin.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).