[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

18/20: gnu: Add r-r6.

From: Ricardo Wurmus
Subject: 18/20: gnu: Add r-r6.
Date: Mon, 21 Sep 2015 08:49:01 +0000

rekado pushed a commit to branch master
in repository guix.

commit ffd4b478510b770966f5e5478d818be97a4ae06d
Author: Vicente Vera Parra <address@hidden>
Date:   Tue Sep 15 14:24:46 2015 -0300

    gnu: Add r-r6.
    * gnu/packages/statistics.scm (r-r6): New variable.
 gnu/packages/statistics.scm |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 53d3e28..9e23cc7 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -833,3 +833,32 @@ New styles can also be created easily.  This package was 
inspired by the
      "This package provides a unit testing system for R 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 (cran-uri "R6" version))
+              (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 "";)
+    (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)))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]