From 5bee6bf409dd36b0671ff59bac09d7ad4aa9e09e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 2 Aug 2017 15:47:56 +0200 Subject: gnu: Add r-glue. * gnu/packages/cran.scm (r-glue): New variable. --- gnu/packages/cran.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 9ebfbbed2d..61c6496022 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -42,3 +42,23 @@ including RGB, HSV, HLS, CIEXYZ, CIELUV, HCL (polar CIELUV), CIELAB and polar CIELAB. Qualitative, sequential, and diverging color palettes based on HCL colors are provided.") (license license:bsd-3))) + +(define-public r-glue + (package + (name "r-glue") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "glue" version)) + (sha256 + (base32 + "01awmqby7rwzhzr51m7d87wqibx7ggl6xair8fi3z3q1hkyyv7ih")))) + (build-system r-build-system) + (home-page "https://github.com/tidyverse/glue") + (synopsis "Interpreted string literals") + (description + "This package provides an implementation of interpreted string literals, +inspired by Python's Literal String Interpolation (PEP-0498) and +Docstrings (PEP-0257) and Julia's Triple-Quoted String Literals.") + (license license:expat))) -- cgit v1.2.3 From 847b4572535819379a92dcc45d123936ba0729ab Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 2 Aug 2017 15:49:42 +0200 Subject: gnu: r-plogr: Move to (gnu packages cran). * gnu/packages/statistics.scm (r-plogr): Move from here... * gnu/packages/cran.scm (r-plogr): ...to here. --- gnu/packages/cran.scm | 20 ++++++++++++++++++++ gnu/packages/statistics.scm | 20 -------------------- 2 files changed, 20 insertions(+), 20 deletions(-) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 61c6496022..083eed1dbf 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -62,3 +62,23 @@ colors are provided.") inspired by Python's Literal String Interpolation (PEP-0498) and Docstrings (PEP-0257) and Julia's Triple-Quoted String Literals.") (license license:expat))) + +(define-public r-plogr + (package + (name "r-plogr") + (version "0.1-1") + (source + (origin + (method url-fetch) + (uri (cran-uri "plogr" version)) + (sha256 + (base32 + "13zliqlbkl8b04k9ga0sx5jsh7k867gracgl84l2a9kcqy9mqx92")))) + (build-system r-build-system) + (home-page "https://github.com/krlmlr/plogr") + (synopsis "R bindings for the plog C++ logging library") + (description + "This package provides the header files for a stripped-down version of +the plog header-only C++ logging library, and a method to log to R's standard +error stream.") + (license license:expat))) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index fb7431c811..02811f3fdc 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2585,26 +2585,6 @@ variety of formats.") and draw tables.") (license license:gpl2+))) -(define-public r-plogr - (package - (name "r-plogr") - (version "0.1-1") - (source - (origin - (method url-fetch) - (uri (cran-uri "plogr" version)) - (sha256 - (base32 - "13zliqlbkl8b04k9ga0sx5jsh7k867gracgl84l2a9kcqy9mqx92")))) - (build-system r-build-system) - (home-page "https://github.com/krlmlr/plogr") - (synopsis "R bindings for the plog C++ logging library") - (description - "This package provides the header files for a stripped-down version of -the plog header-only C++ logging library, and a method to log to R's standard -error stream.") - (license license:expat))) - (define-public r-pkgconfig (package (name "r-pkgconfig") -- cgit v1.2.3 From a8cba9dd112528d67a946eee057c838221eb5249 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 2 Aug 2017 15:52:39 +0200 Subject: gnu: r-rcpp: Move to (gnu packages cran). * gnu/packages/statistics.scm (r-rcpp): Move from here... * gnu/packages/cran.scm (r-rcpp): ...to here. --- gnu/packages/cran.scm | 24 ++++++++++++++++++++++++ gnu/packages/statistics.scm | 24 ------------------------ gnu/packages/web.scm | 1 + 3 files changed, 25 insertions(+), 24 deletions(-) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 083eed1dbf..863c872d14 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -82,3 +82,27 @@ Docstrings (PEP-0257) and Julia's Triple-Quoted String Literals.") the plog header-only C++ logging library, and a method to log to R's standard error stream.") (license license:expat))) + +(define-public r-rcpp + (package + (name "r-rcpp") + (version "0.12.12") + (source + (origin + (method url-fetch) + (uri (cran-uri "Rcpp" version)) + (sha256 + (base32 "1byyqvlgb2p46p1gv243k73rk69fa8pa4l5m5asmckag2pkb2glz")))) + (build-system r-build-system) + (home-page "http://www.rcpp.org") + (synopsis "Seamless R and C++ integration") + (description + "The Rcpp package provides R functions as well as C++ classes which offer +a seamless integration of R and C++. Many R data types and objects can be +mapped back and forth to C++ equivalents which facilitates both writing of new +code as well as easier integration of third-party libraries. Documentation +about Rcpp is provided by several vignettes included in this package, via the +'Rcpp Gallery' site at , the paper by Eddelbuettel +and Francois (2011, JSS), and the book by Eddelbuettel (2013, Springer); see +'citation(\"Rcpp\")' for details on these last two.") + (license license:gpl2+))) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 428e2a073f..1b7c4d3b60 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -793,30 +793,6 @@ see package vignette. To quote Rene Magritte, \"Ceci n'est pas un pipe.\"") Munsell colour system.") (license license:expat))) -(define-public r-rcpp - (package - (name "r-rcpp") - (version "0.12.12") - (source - (origin - (method url-fetch) - (uri (cran-uri "Rcpp" version)) - (sha256 - (base32 "1byyqvlgb2p46p1gv243k73rk69fa8pa4l5m5asmckag2pkb2glz")))) - (build-system r-build-system) - (home-page "http://www.rcpp.org") - (synopsis "Seamless R and C++ Integration") - (description - "The Rcpp package provides R functions as well as C++ classes which offer -a seamless integration of R and C++. Many R data types and objects can be -mapped back and forth to C++ equivalents which facilitates both writing of new -code as well as easier integration of third-party libraries. Documentation -about Rcpp is provided by several vignettes included in this package, via the -'Rcpp Gallery' site at , the paper by Eddelbuettel -and Francois (2011, JSS), and the book by Eddelbuettel (2013, Springer); see -'citation(\"Rcpp\")' for details on these last two.") - (license license:gpl2+))) - (define-public r-permute (package (name "r-permute") diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index f03f67bf8c..1550454241 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -54,6 +54,7 @@ #:use-module (gnu packages) #:use-module (gnu packages apr) #:use-module (gnu packages check) + #:use-module (gnu packages cran) #:use-module (gnu packages documentation) #:use-module (gnu packages docbook) #:use-module (gnu packages autotools) -- cgit v1.2.3 From eed58a0886433195fd610fc2b7d19c11c11c4ca1 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 2 Aug 2017 15:53:33 +0200 Subject: gnu: Add r-bindr. * gnu/packages/cran.scm (r-bindr): New variable. --- gnu/packages/cran.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 863c872d14..c0f34f1375 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -106,3 +106,22 @@ about Rcpp is provided by several vignettes included in this package, via the and Francois (2011, JSS), and the book by Eddelbuettel (2013, Springer); see 'citation(\"Rcpp\")' for details on these last two.") (license license:gpl2+))) + +(define-public r-bindr + (package + (name "r-bindr") + (version "0.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "bindr" version)) + (sha256 + (base32 + "0d95ifm0x4mrfzi20xf39f5pzd7rfzqsld0vjqf6xzga5rhnd8fc")))) + (build-system r-build-system) + (home-page "https://github.com/krlmlr/bindr") + (synopsis "Parametrized active bindings") + (description + "This package provides a simple interface for creating active bindings +where the bound function accepts additional arguments.") + (license license:expat))) -- cgit v1.2.3 From 4bb0b4cc0aeffcc97d67c257e0c839aedb87f680 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 2 Aug 2017 15:53:49 +0200 Subject: gnu: Add r-bindrcpp. * gnu/packages/cran.scm (r-bindrcpp): New variable. --- gnu/packages/cran.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index c0f34f1375..feae801116 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -125,3 +125,26 @@ and Francois (2011, JSS), and the book by Eddelbuettel (2013, Springer); see "This package provides a simple interface for creating active bindings where the bound function accepts additional arguments.") (license license:expat))) + +(define-public r-bindrcpp + (package + (name "r-bindrcpp") + (version "0.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "bindrcpp" version)) + (sha256 + (base32 + "0l1l22zl87wiyl79m3gj2vlxmkhxvrkl4alhyy08h55q7hqs3vyh")))) + (build-system r-build-system) + (propagated-inputs + `(("r-bindr" ,r-bindr) + ("r-plogr" ,r-plogr) + ("r-rcpp" ,r-rcpp))) + (home-page "https://github.com/krlmlr/bindrcpp") + (synopsis "Rcpp interface to active bindings") + (description + "This package provides an easy way to fill an environment with active +bindings that call a C++ function.") + (license license:expat))) -- cgit v1.2.3