unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add r-mvtnorm.
@ 2016-05-04 13:46 Roel Janssen
  2016-05-06 18:47 ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Roel Janssen @ 2016-05-04 13:46 UTC (permalink / raw)
  To: guix-devel

Dear Guix,

Yet another patch for an R package.

Kind regards,
Roel Janssen

From ff2b4d8a0bc1ecf1dcc3a6ce8f3e457910e7aa33 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Wed, 4 May 2016 15:45:09 +0200
Subject: [PATCH] gnu: Add r-mvtnorm.

* gnu/packages/statistics.scm (r-mvtnorm): New variable.
---
 gnu/packages/statistics.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 3d0faf7..245d970 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2393,6 +2393,25 @@ things.  RSP is ideal for self-contained scientific reports and R package
 vignettes.")
     (license license:lgpl2.1+)))
 
+(define-public r-mvtnorm
+  (package
+    (name "r-mvtnorm")
+    (version "1.0-5")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "mvtnorm" version))
+              (sha256
+               (base32
+                "1pc1mi2h063gh4a40009xk5j6pf5bm4274i5kycln38dixsry3yh"))))
+    (build-system r-build-system)
+    (inputs
+     `(("gfortran" ,gfortran)))
+    (home-page "http://mvtnorm.R-forge.R-project.org")
+    (synopsis "Package for multivariate normal and t-distributions")
+    (description "This package can compute multivariate normal and 
+t-probabilities, quantiles, random deviates and densities.")
+    (license license:gpl2+)))
+
 (define-public r-matrixstats
   (package
     (name "r-matrixstats")
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: Add r-mvtnorm.
  2016-05-04 13:46 [PATCH] gnu: Add r-mvtnorm Roel Janssen
@ 2016-05-06 18:47 ` Leo Famulari
  2016-05-07 16:45   ` Roel Janssen
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2016-05-06 18:47 UTC (permalink / raw)
  To: Roel Janssen; +Cc: guix-devel

On Wed, May 04, 2016 at 03:46:46PM +0200, Roel Janssen wrote:
> Dear Guix,
> 
> Yet another patch for an R package.
> 
> Kind regards,
> Roel Janssen
> 
> >From ff2b4d8a0bc1ecf1dcc3a6ce8f3e457910e7aa33 Mon Sep 17 00:00:00 2001
> From: Roel Janssen <roel@gnu.org>
> Date: Wed, 4 May 2016 15:45:09 +0200
> Subject: [PATCH] gnu: Add r-mvtnorm.
> 
> * gnu/packages/statistics.scm (r-mvtnorm): New variable.

Okay!

> +    (license license:gpl2+)))

I can't find the "or later" text anywhere in the source distribution.
According to some recent guix-devel discussion [0], that's what
determines whether something is gpl2 or gpl2+:

http://lists.gnu.org/archive/html/guix-devel/2016-05/msg00149.html

What do you think?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: Add r-mvtnorm.
  2016-05-06 18:47 ` Leo Famulari
@ 2016-05-07 16:45   ` Roel Janssen
  2016-05-07 18:32     ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Roel Janssen @ 2016-05-07 16:45 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel


Leo Famulari writes:

> On Wed, May 04, 2016 at 03:46:46PM +0200, Roel Janssen wrote:
>> +    (license license:gpl2+)))
>
> I can't find the "or later" text anywhere in the source distribution.
> According to some recent guix-devel discussion [0], that's what
> determines whether something is gpl2 or gpl2+:
>
> http://lists.gnu.org/archive/html/guix-devel/2016-05/msg00149.html
>
> What do you think?

Great catch!  It should be GPLv2 indeed.  Here is a new patch:

From 51d79111331a8b5330528664b41094037fd17482 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Sat, 7 May 2016 18:42:15 +0200
Subject: [PATCH] gnu: Add r-mvtnorm.

* gnu/packages/statistics.scm (r-mvtnorm): New variable.
---
 gnu/packages/statistics.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 04274f2..7b34832 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2439,6 +2439,25 @@ things.  RSP is ideal for self-contained scientific reports and R package
 vignettes.")
     (license license:lgpl2.1+)))
 
+(define-public r-mvtnorm
+  (package
+    (name "r-mvtnorm")
+    (version "1.0-5")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "mvtnorm" version))
+              (sha256
+               (base32
+                "1pc1mi2h063gh4a40009xk5j6pf5bm4274i5kycln38dixsry3yh"))))
+    (build-system r-build-system)
+    (inputs
+     `(("gfortran" ,gfortran)))
+    (home-page "http://mvtnorm.R-forge.R-project.org")
+    (synopsis "Package for multivariate normal and t-distributions")
+    (description "This package can compute multivariate normal and
+t-probabilities, quantiles, random deviates and densities.")
+    (license license:gpl2)))
+
 (define-public r-matrixstats
   (package
     (name "r-matrixstats")
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: Add r-mvtnorm.
  2016-05-07 16:45   ` Roel Janssen
@ 2016-05-07 18:32     ` Leo Famulari
  0 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2016-05-07 18:32 UTC (permalink / raw)
  To: Roel Janssen; +Cc: guix-devel

On Sat, May 07, 2016 at 06:45:47PM +0200, Roel Janssen wrote:
> Leo Famulari writes:
> > On Wed, May 04, 2016 at 03:46:46PM +0200, Roel Janssen wrote:
> >> +    (license license:gpl2+)))
> >
> > I can't find the "or later" text anywhere in the source distribution.
> > According to some recent guix-devel discussion [0], that's what
> > determines whether something is gpl2 or gpl2+:
> >
> > http://lists.gnu.org/archive/html/guix-devel/2016-05/msg00149.html
> >
> > What do you think?
> 
> Great catch!  It should be GPLv2 indeed.  Here is a new patch:

> * gnu/packages/statistics.scm (r-mvtnorm): New variable.

Thanks, applied as b5f13fdb9!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-05-07 18:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-04 13:46 [PATCH] gnu: Add r-mvtnorm Roel Janssen
2016-05-06 18:47 ` Leo Famulari
2016-05-07 16:45   ` Roel Janssen
2016-05-07 18:32     ` Leo Famulari

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).