Subject: bug#43994: closed (Re: [bug#43994] [PATCH v2] gnu: Add r-calculus.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 17 Oct 2020 20:40:01 +0000

Your bug report

#43994: [PATCH] gnu: Add r-calculus.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
43994: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43994
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#43994] [PATCH v2] gnu: Add r-calculus.
From: Ludovic Courtès <[email-masked]>
To: Magali Lemes <[email-masked]>
Cc: [email-masked]
Date: Sat, 17 Oct 2020 22:39:46 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Magali,

Magali Lemes <[email-masked]> skribis:

> * gnu/packages/cran.scm (r-calculus): New variable.

Applied with the minor changes below (the URL change was suggested by
‘guix lint r-calculus’.)  Apart from that it’s all good.

Thanks!

Ludo’.

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ce5ae7f64a..fea560f7a1 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -24615,8 +24615,8 @@ absolute GSEA.")
     (build-system r-build-system)
     (propagated-inputs
      `(("r-rcpp" ,r-rcpp)))
-    (home-page "https://github.com/emanuele-guidotti/calculus")
-    (synopsis "High Dimensional Numerical and Symbolic Calculus")
+    (home-page "https://github.com/guidotti/calculus")
+    (synopsis "High dimensional numerical and symbolic calculus")
     (description
      "Efficient C++ optimized functions for numerical and symbolic calculus.
 It includes basic symbolic arithmetic, tensor calculus, Einstein summing

Subject: [PATCH] gnu: Add r-calculus.
From: Magali Lemes <[email-masked]>
To: [email-masked]
Cc: Magali Lemes <[email-masked]>
Date: Wed, 14 Oct 2020 16:06:09 -0300
List-Id: <debbugs-submit.debbugs.gnu.org>

---
 gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 59a409f8e9..8a4f0085f6 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -24596,3 +24596,30 @@ enrichment analysis (GSEA) calculation with or without the absolute filtering.
   Without filtering, users can perform (original) two-tailed or one-tailed
 absolute GSEA.")
     (license license:gpl2)))
+
+(define-public r-calculus
+  (package
+    (name "r-calculus")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "calculus" version))
+       (sha256
+       (base32
+        "0hs7hzjl6xjza20v9zx9a1piywxa6w3h2rskr52d1dcbc0vwhinp"))))
+    (properties `((upstream-name . "calculus")))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-rcpp" ,r-rcpp)))
+    (home-page "https://github.com/emanuele-guidotti/calculus")
+    (synopsis "High Dimensional Numerical and Symbolic Calculus")
+    (description
+     "Efficient C++ optimized functions for numerical and symbolic calculus.
+It includes basic symbolic arithmetic, tensor calculus, Einstein summing
+convention, fast computation of the Levi-Civita symbol and generalized 
+Kronecker delta, Taylor series expansion, multivariate Hermite polynomials,
+accurate high-order derivatives, differential operators (Gradient, Jacobian,
+Hessian, Divergence, Curl, Laplacian) and numerical integration in arbitrary
+orthogonal coordinate systems: cartesian, polar, spherical, cylindrical, 
+parabolic or user defined by custom scale factors.")
+    (license license:gpl3)))
\ No newline at end of file
-- 
2.25.1