Subject: [bug#40746] New package: r-brms

From: Marius Bakke <[email-masked]>
Date: Sat, 30 May 2020 19:54:08 +0200

Hello,

This patch has gone stale, sorry about that.

Can you rebase it on 'master'?

Eric Brown <[email-masked]> writes:

> From 6d9b9202a5c2c45bd30b8764c740aee291274c83 Mon Sep 17 00:00:00 2001
> From: Eric Brown <[email-masked]>
> Date: Tue, 21 Apr 2020 11:13:11 -0500
> Subject: [PATCH] gnu: Add r-brms.
>
> * gnu/packages/cran.scm (r-brms): New variable.

[...]

> +    (home-page
> +     "https://github.com/paul-buerkner/brms")
> +    (synopsis
> +     "Bayesian Regression Models using 'Stan'")

The line breaks here are unnecessary.

> +    (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.")

Please use two spaces between sentences, as suggested by 'guix lint'.

> +    (license license:gpl2)))

I don't see any files mentioning 'GPL 2 only', so this should probably
be 'gpl2+', i.e. "GPL 2 or any later version".

Can you send an updated patch?  Thanks in advance.  :-)