all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Afkhami, Navid" <Navid.Afkhami@mdc-berlin.de>
To: 71650@debbugs.gnu.org
Cc: "Afkhami, Navid" <Navid.Afkhami@mdc-berlin.de>
Subject: [bug#71650] [PATCH] gnu: Add r-cmdstanr.
Date: Wed, 19 Jun 2024 14:53:24 +0000	[thread overview]
Message-ID: <f0b4e2889d976e74c3527bc6a4a85d8446027e12.1718808804.git.Navid.Afkhami@mdc-berlin.de> (raw)

* gnu/packages/bioinformatics.scm (r-cmdstanr): New variable.

Change-Id: Ic9e83486f7ab7f0e7075343af630c4dcecf597b5
---
 gnu/packages/bioinformatics.scm | 37 +++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index cdda029809..e2632a5aa4 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -11534,6 +11534,43 @@ (define-public r-chromunity
 Pore-C concatemers.")
       (license license:gpl3))))
 
+(define-public r-cmdstanr
+  (let ((commit "a45d4f7d686aa6b57ce25f342a71eea79507f01c")
+        (revision "1"))
+    (package
+      (name "r-cmdstanr")
+      (version (git-version "0.8.1.9000" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/stan-dev/cmdstanr")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "01vyh3sy704rs7yvaka2hp6vld0mdl7hbrs20dpbwidgm4ksrvsi"))))
+      (properties `((upstream-name . "cmdstanr")))
+      (build-system r-build-system)
+      (propagated-inputs (list r-checkmate
+                               r-data-table
+                               r-jsonlite
+                               r-posterior
+                               r-processx
+                               r-r6
+                               r-rlang
+                               r-withr))
+      (native-inputs (list r-knitr))
+      (home-page "https://github.com/stan-dev/cmdstanr")
+      (synopsis "R interface to 'CmdStan'")
+      (description
+       "This package provides a lightweight interface to Stan <https://mc-stan.org>.
+The @code{CmdStanR} interface is an alternative to RStan that calls the command
+line interface for compilation and running algorithms instead of interfacing
+with C++ via Rcpp'.  This has many benefits including always being compatible
+with the latest version of Stan, fewer installation errors, fewer unexpected
+crashes in RStudio, and a more permissive license.")
+      (license license:bsd-3))))
+
 (define-public r-dnamcrosshyb
   ;; There aren't any releases.
   (let ((commit "fe8acb33667e81f00dcb84e0fa75c87ab2db5d8f")

base-commit: da1f3aff2ea9a98651ebc69c8385ba136fe2e325
-- 
2.34.1





             reply	other threads:[~2024-06-19 14:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-19 14:53 Afkhami, Navid [this message]
2024-06-30  8:50 ` bug#71650: Close Andreas Enge

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f0b4e2889d976e74c3527bc6a4a85d8446027e12.1718808804.git.Navid.Afkhami@mdc-berlin.de \
    --to=navid.afkhami@mdc-berlin.de \
    --cc=71650@debbugs.gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.