From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:55284) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyyha-00082t-8p for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyyhZ-0000pO-0R for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:18 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36979) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iyyhY-0000oe-RS for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:16 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iyyhY-0008Ja-P4 for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:16 -0500 Subject: [bug#39416] [PATCH 20/34] gnu: Add package r-stanheaders Resent-Message-ID: From: Lars-Dominik Braun Date: Tue, 4 Feb 2020 14:56:12 +0100 Message-Id: <20200204135626.28261-20-ldb@leibniz-psychology.org> In-Reply-To: <20200204135626.28261-1-ldb@leibniz-psychology.org> References: <20200204135626.28261-1-ldb@leibniz-psychology.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 39416@debbugs.gnu.org Cc: Lars-Dominik Braun * gnu/packages/cran.scm (r-stanheaders): New variable. --- gnu/packages/cran.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index cf230ec076..47acdf95ae 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -19782,3 +19782,38 @@ additional cost functions, cross validation, and other extensions beyond traditional structural equation models. Also contains a function to perform exploratory mediation (XMed).") (license license:gpl2+))) + +(define-public r-stanheaders + (package + (name "r-stanheaders") + (version "2.19.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "StanHeaders" version)) + (sha256 + (base32 + "0kyka130sin4nbji7p840394ynhmaynv9jyi94ddbplj83i2nhx3")))) + (properties `((upstream-name . "StanHeaders"))) + (build-system r-build-system) + (inputs `(("pandoc" ,ghc-pandoc))) + (native-inputs `(("gfortran" ,gfortran))) + (home-page "https://mc-stan.org/") + (synopsis "C++ Header Files for Stan") + (description + "The C++ header files of the Stan project are provided by this package, +but it contains no R code or function documentation. There is a shared object +containing part of the @code{CVODES} library, but it is not accessible from R. +@code{r-stanheaders} is only useful for developers who want to utilize the +@code{LinkingTo} directive of their package's DESCRIPTION file to build on the +Stan library without incurring unnecessary dependencies. The Stan project +develops a probabilistic programming language that implements full or +approximate Bayesian statistical inference via Markov Chain Monte Carlo or +variational methods and implements (optionally penalized) maximum likelihood +estimation via optimization. The Stan library includes an advanced automatic +differentiation scheme, templated statistical and linear algebra functions that +can handle the automatically differentiable scalar types (and doubles, ints, +etc.), and a parser for the Stan language. The @code{r-rstan} package provides +user-facing R functions to parse, compile, test, estimate, and analyze Stan +models.") + (license license:bsd-3))) -- 2.20.1