unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Vicente Vera <vicentemvp@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH 18/19] gnu: Add r-r6.
Date: Sun, 13 Sep 2015 13:56:18 -0300	[thread overview]
Message-ID: <CAMfbzvBxpu4KDXhKkWdvR5y82QT7Yf+u+CVB3s8QYnt2Q5v7bw@mail.gmail.com> (raw)

[-- 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


             reply	other threads:[~2015-09-13 16:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-13 16:56 Vicente Vera [this message]
2015-09-15 17:46 ` [PATCH 18/19] gnu: Add r-r6 Vicente Vera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMfbzvBxpu4KDXhKkWdvR5y82QT7Yf+u+CVB3s8QYnt2Q5v7bw@mail.gmail.com \
    --to=vicentemvp@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).