From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:55672) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQvle-0002r6-SI for guix-patches@gnu.org; Tue, 21 Apr 2020 12:29:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQvle-0001Ps-Ds for guix-patches@gnu.org; Tue, 21 Apr 2020 12:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39112) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQvle-0001P7-1g for guix-patches@gnu.org; Tue, 21 Apr 2020 12:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jQvld-0006RQ-Sp for guix-patches@gnu.org; Tue, 21 Apr 2020 12:29:01 -0400 Subject: [bug#40746] New package: r-brms Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:55484) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQvkq-0001xc-SJ for guix-patches@gnu.org; Tue, 21 Apr 2020 12:28:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQvko-0000Hg-Rx for guix-patches@gnu.org; Tue, 21 Apr 2020 12:28:12 -0400 Received: from 216-80-121-173.s13.demp-ubr2.chi-demp.il.static.cable.rcncustomer.com ([216.80.121.173]:58983 helo=ericcbrown.com) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQvko-0000EX-Bl for guix-patches@gnu.org; Tue, 21 Apr 2020 12:28:10 -0400 Received: from localhost (unknown [192.168.1.1]) by ericcbrown.com (Postfix) with ESMTPSA id AF31A498E973 for ; Tue, 21 Apr 2020 11:28:07 -0500 (CDT) From: Eric Brown Date: Tue, 21 Apr 2020 11:28:07 -0500 Message-ID: <87blnkreg8.fsf@ericcbrown.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40746@debbugs.gnu.org --=-=-= Content-Type: text/plain Dear Guix: Please see attached diff for r-brms. Best regards, Eric --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-r-brms.patch Content-Description: r-brms >From 6d9b9202a5c2c45bd30b8764c740aee291274c83 Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Tue, 21 Apr 2020 11:13:11 -0500 Subject: [PATCH] gnu: Add r-brms. * gnu/packages/cran.scm (r-brms): New variable. --- gnu/packages/cran.scm | 52 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 70cb7cc700..13251652d4 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -21162,3 +21162,55 @@ evaluated interactively.") Bayes factors, posterior model probabilities, and normalizing constants in general, via different versions of bridge sampling.") (license license:gpl2+))) + +(define-public r-brms + (package + (name "r-brms") + (version "2.12.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "brms" version)) + (sha256 + (base32 + "1699lwkklfhjz7fddawlig552g2zvrc34mqwrzqjgl35r9fm08gs")))) + (properties `((upstream-name . "brms"))) + (build-system r-build-system) + (propagated-inputs + `(("r-abind" ,r-abind) + ("r-backports" ,r-backports) + ("r-bayesplot" ,r-bayesplot) + ("r-bridgesampling" ,r-bridgesampling) + ("r-coda" ,r-coda) + ("r-future" ,r-future) + ("r-ggplot2" ,r-ggplot2) + ("r-glue" ,r-glue) + ("r-loo" ,r-loo) + ("r-matrix" ,r-matrix) + ("r-matrixstats" ,r-matrixstats) + ("r-mgcv" ,r-mgcv) + ("r-nleqslv" ,r-nleqslv) + ("r-nlme" ,r-nlme) + ("r-rcpp" ,r-rcpp) + ("r-rstan" ,r-rstan) + ("r-rstantools" ,r-rstantools) + ("r-shinystan" ,r-shinystan))) + (native-inputs `(("r-knitr" ,r-knitr))) + (home-page + "https://github.com/paul-buerkner/brms") + (synopsis + "Bayesian Regression Models using 'Stan'") + (description + "Fit Bayesian generalized (non-)linear multivariate multilevel models +using 'Stan' for full Bayesian inference. A wide range of distributions and +link functions are supported, allowing users to fit -- among others -- linear, +robust linear, count data, survival, response times, ordinal, zero-inflated, +hurdle, and even self-defined mixture models all in a multilevel context. +Further modeling options include non-linear and smooth terms, auto-correlation +structures, censored data, meta-analytic standard errors, and quite a few +more. In addition, all parameters of the response distribution can be +predicted in order to perform distributional regression. Prior specifications +are flexible and explicitly encourage users to apply prior distributions that +actually reflect their beliefs. Model fit can easily be assessed and compared +with posterior predictive checks and leave-one-out cross-validation.") + (license license:gpl2))) -- 2.26.2 --=-=-=--