* [PATCH 18/19] gnu: Add r-r6.
@ 2015-09-13 16:56 Vicente Vera
2015-09-15 17:46 ` Vicente Vera
0 siblings, 1 reply; 2+ messages in thread
From: Vicente Vera @ 2015-09-13 16:56 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: 0018-gnu-Add-r-r6.patch --]
[-- Type: text/x-patch, Size: 1914 bytes --]
From 11678514207e1fc5da04dca00d89ff9f67a67d2b Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Sun, 13 Sep 2015 13:29:38 -0300
Subject: [PATCH 18/19] gnu: Add r-r6.
* gnu/packages/statistics.scm (r-r6): New variable.
---
gnu/packages/statistics.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index b283bff..1796caf 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -854,3 +854,33 @@ package was inspired by the 'chalk' 'JavaScript' project.")
"A unit testing system designed to be fun, flexible and easy to
set up.")
(license license:expat)))
+
+(define-public r-r6
+ (package
+ (name "r-r6")
+ (version "2.1.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cran/src/contrib/R6_"
+ version ".tar.gz"))
+ (sha256
+ (base32 "16qq35bgxgswf989yvsqkb6fv7srpf8n8dv2s2c0z9n6zgmwq66m"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-knitr" ,r-knitr)
+ ("r-microbenchmark" ,r-microbenchmark)
+ ("r-pryr" ,r-pryr)
+ ("r-testthat" ,r-testthat)
+ ("r-ggplot2" ,r-ggplot2)
+ ("r-scales" ,r-scales)))
+ (home-page "https://github.com/wch/R6/")
+ (synopsis "Classes with Reference Semantics")
+ (description
+ "The R6 package allows the creation of classes with reference
+semantics, similar to R's built-in reference classes. Compared to
+reference classes, R6 classes are simpler and lighter-weight, and they
+are not built on S4 classes so they do not require the methods
+package. These classes allow public and private members, and they
+support inheritance, even when the classes are defined in different
+packages.")
+ (license license:expat)))
--
2.5.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 18/19] gnu: Add r-r6.
2015-09-13 16:56 [PATCH 18/19] gnu: Add r-r6 Vicente Vera
@ 2015-09-15 17:46 ` Vicente Vera
0 siblings, 0 replies; 2+ messages in thread
From: Vicente Vera @ 2015-09-15 17:46 UTC (permalink / raw)
To: guix-devel, Ricardo Wurmus
[-- Attachment #1: Type: text/plain, Size: 91 bytes --]
Updated patch attached.
2015-09-13 13:56 GMT-03:00 Vicente Vera <vicentemvp@gmail.com>:
>
[-- Attachment #2: 0018-gnu-Add-r-r6.patch --]
[-- Type: text/x-patch, Size: 1986 bytes --]
From 9ca87e430f334c453199339001f93e14f23a28bc Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Tue, 15 Sep 2015 14:24:46 -0300
Subject: [PATCH 18/19] gnu: Add r-r6.
* gnu/packages/statistics.scm (r-r6): New variable.
---
gnu/packages/statistics.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index b72c4ad..9607270 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -901,3 +901,35 @@ New styles can also be created easily. This package was inspired by the
"This package provides a unit testing system designed to be fun, flexible
and easy to set up.")
(license license:expat)))
+
+(define-public r-r6
+ (package
+ (name "r-r6")
+ (version "2.1.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cran/src/contrib/R6_"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "16qq35bgxgswf989yvsqkb6fv7srpf8n8dv2s2c0z9n6zgmwq66m"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-knitr" ,r-knitr)
+ ("r-microbenchmark" ,r-microbenchmark)
+ ("r-pryr" ,r-pryr)
+ ("r-testthat" ,r-testthat)
+ ("r-ggplot2" ,r-ggplot2)
+ ("r-scales" ,r-scales)))
+ (home-page
+ "https://github.com/wch/R6/")
+ (synopsis
+ "Classes with reference semantics in R")
+ (description
+ "The R6 package allows the creation of classes with reference semantics,
+similar to R's built-in reference classes. Compared to reference classes, R6
+classes are simpler and lighter-weight, and they are not built on S4 classes
+so they do not require the methods package. These classes allow public and
+private members, and they support inheritance, even when the classes are
+defined in different packages.")
+ (license license:expat)))
--
2.5.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-15 17:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-13 16:56 [PATCH 18/19] gnu: Add r-r6 Vicente Vera
2015-09-15 17:46 ` Vicente Vera
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.