gnu: r-rcpp: Move to (gnu packages cran).
[jackhill/guix/guix.git] / gnu / packages / cran.scm
CommitLineData
056468dc
RW
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages cran)
20 #:use-module ((guix licenses) #:prefix license:)
21 #:use-module (guix packages)
22 #:use-module (guix download)
23 #:use-module (guix utils)
24 #:use-module (guix build-system r))
25
26(define-public r-colorspace
27 (package
28 (name "r-colorspace")
29 (version "1.3-2")
30 (source
31 (origin
32 (method url-fetch)
33 (uri (cran-uri "colorspace" version))
34 (sha256
35 (base32 "0d1ya7hx4y58n5ivwmdmq2zgh0g2sbv7ykh13n85c1355csd57yx"))))
36 (build-system r-build-system)
37 (home-page "http://cran.r-project.org/web/packages/colorspace")
38 (synopsis "Color space manipulation")
39 (description
40 "This package carries out a mapping between assorted color spaces
41including RGB, HSV, HLS, CIEXYZ, CIELUV, HCL (polar CIELUV), CIELAB and polar
42CIELAB. Qualitative, sequential, and diverging color palettes based on HCL
43colors are provided.")
44 (license license:bsd-3)))
5bee6bf4
RW
45
46(define-public r-glue
47 (package
48 (name "r-glue")
49 (version "1.1.1")
50 (source
51 (origin
52 (method url-fetch)
53 (uri (cran-uri "glue" version))
54 (sha256
55 (base32
56 "01awmqby7rwzhzr51m7d87wqibx7ggl6xair8fi3z3q1hkyyv7ih"))))
57 (build-system r-build-system)
58 (home-page "https://github.com/tidyverse/glue")
59 (synopsis "Interpreted string literals")
60 (description
61 "This package provides an implementation of interpreted string literals,
62inspired by Python's Literal String Interpolation (PEP-0498) and
63Docstrings (PEP-0257) and Julia's Triple-Quoted String Literals.")
64 (license license:expat)))
847b4572
RW
65
66(define-public r-plogr
67 (package
68 (name "r-plogr")
69 (version "0.1-1")
70 (source
71 (origin
72 (method url-fetch)
73 (uri (cran-uri "plogr" version))
74 (sha256
75 (base32
76 "13zliqlbkl8b04k9ga0sx5jsh7k867gracgl84l2a9kcqy9mqx92"))))
77 (build-system r-build-system)
78 (home-page "https://github.com/krlmlr/plogr")
79 (synopsis "R bindings for the plog C++ logging library")
80 (description
81 "This package provides the header files for a stripped-down version of
82the plog header-only C++ logging library, and a method to log to R's standard
83error stream.")
84 (license license:expat)))
a8cba9dd
RW
85
86(define-public r-rcpp
87 (package
88 (name "r-rcpp")
89 (version "0.12.12")
90 (source
91 (origin
92 (method url-fetch)
93 (uri (cran-uri "Rcpp" version))
94 (sha256
95 (base32 "1byyqvlgb2p46p1gv243k73rk69fa8pa4l5m5asmckag2pkb2glz"))))
96 (build-system r-build-system)
97 (home-page "http://www.rcpp.org")
98 (synopsis "Seamless R and C++ integration")
99 (description
100 "The Rcpp package provides R functions as well as C++ classes which offer
101a seamless integration of R and C++. Many R data types and objects can be
102mapped back and forth to C++ equivalents which facilitates both writing of new
103code as well as easier integration of third-party libraries. Documentation
104about Rcpp is provided by several vignettes included in this package, via the
105'Rcpp Gallery' site at <http://gallery.rcpp.org>, the paper by Eddelbuettel
106and Francois (2011, JSS), and the book by Eddelbuettel (2013, Springer); see
107'citation(\"Rcpp\")' for details on these last two.")
108 (license license:gpl2+)))